Sm_PolicyApi_FreeMemory()

Call Sm_PolicyApi_FreeMemory() to free memory that was allocated by the Policy Management API. This includes the Sm_PolicyApi_Server_t structures allocated as part of the Sm_PolicyApi_HostConfig_t structure.
casso126
This function is deprecated for clients starting at SM_POLICY_API_VERSION_6_0. Instead, use Sm_PolicyApi_FreeMemoryEx().
Call Sm_PolicyApi_FreeMemory() to free memory that was allocated by the Policy Management API. This includes the Sm_PolicyApi_Server_t structures allocated as part of the Sm_PolicyApi_HostConfig_t structure.
Type
Utility function.
Syntax
int SM_EXTERN Sm_PolicyApi_FreeMemory (void*
pMem);
Parameter
I/O
description
pMem
I
A void pointer to memory that was allocated by the Policy Management API
.
Returns
Sm_PolicyApi_Success or Sm_PolicyApi_Failure.