MxbsFree
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.
Function Usage
This function is used to free the specified memory.
Prototype
1 | static APP_ERROR MemoryHelper::MxbsFree(MemoryData& data); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
data |
Input |
Memory data to be freed. |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: MemoryHelper