db2secFreeGroupListMemory API - Free group list memory

Frees the memory used to hold the list of groups from a previous call to db2secGetGroupsForUser API.

API and data structure syntax

     SQL_API_RC ( SQL_API_FN *db2secFreeGroupListMemory) 
                           ( void *ptr,
                             char      **errormsg,
                             db2int32 *errormsglen );

db2secFreeGroupListMemory API parameters

ptr
Input. Pointer to the memory to be freed.
errormsg
Output. A pointer to the address of an ASCII error message string allocated by the plug-in that can be returned in this parameter if the db2secFreeGroupListMemory API execution is not successful.
errormsglen
Output. A pointer to an integer that indicates the length in bytes of the error message string in the errormsg parameter.