IMA_FreeMemory - Frees memory returned by an IMA API
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_FreeMemory( /* in */ void *pMemory );
A pointer to the memory returned by an IMA API, such as the IMA_OID_LIST data structure returned by the library.
If the specified pointer is NULL, then the function succeeds, but takes no action.
If this argument is successfully returned, and the specified pointer is non-NULL, then the allocated memory is freed.
The IMA_FreeMemory() API frees the memory returned by an IMA API.
Returned if the pMemory parameter is non-NULL, and specifies a memory area to which data cannot be written.
See attributes(7) for descriptions of the following attributes:
|
libima(3LIB), attributes(7), IMA_GetLhbaOidList(3IMA), IMA_GetLnpOidList(3IMA), IMA_GetLuOidList(3IMA), IMA_GetNonSharedNodeOidList(3IMA), IMA_GetPhbaOidList(3IMA), IMA_GetPnpOidList(3IMA), IMA_GetTargetOidList(3IMA)