Function GenieProfile_free

Function Documentation

Genie_Status_t GenieProfile_free(const GenieProfile_Handle_t profileHandle)

A function to free memory associated with a profile handle, including the event data collected on the handle. This call will fail if the profile handle is still bound to another object.

Parameters

profileHandle[in] A profile handle. Must not be NULL

Returns

Status code:

  • GENIE_STATUS_SUCCESS: API call was successful.

  • GENIE_STATUS_ERROR_INVALID_HANDLE: Profile handle is invalid.

  • GENIE_STATUS_ERROR_BOUND_HANDLE: Profile handle is bound to another handle.

  • GENIE_STATUS_ERROR_MEM_ALLOC: Memory (de)allocation failure.