When this API is used to destroy the memory, ensure that the memory to be destroyed is not manually destroyed by the free function. Otherwise, double free may occur.
This function is used to free the specified memory.
1 | static APP_ERROR MemoryHelper::MxbsFree(MemoryData& data); |
Parameter |
Input/Output |
Description |
|---|---|---|
data |
Input |
Memory data to be freed. |
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |