Frees a previously allocated extended memory block.
#include <esm.h> int ESMFree ( addr64_t esmAddress);
(IN) Points to the 64-bit extended address of the memory to free.
If successful, returns 0. Otherwise, returns a nonzero error code.
Decimal |
Name |
Description |
---|---|---|
5 |
ERR_INVAL_ADDRESS |
The specified address has already been freed or is out of range. |
For other possible values, see Section 30.3, Return Values for ESM Functions.
All memory allocated with ESM functions must be returned to the system when your NLM exits or the resources are lost.