Skip to main content

llkFree

Description

Frees memory allocated by other functions of Licentrix EMS Licensing library

Syntax

llkFree
void LLK_API llkFree(void* buffer);

Parameters

ParamDescription
bufferA pointer to memory (allocated by Licentrix EMS license library functions) to release

Examples

C++ example
  char *rawLicenseInfoJson = nullptr;
const LLKStatus status = llkGetLicenseInfo(&rawLicenseInfoJson);
/* handle the `status`*/

/*null pointers are ok for llkFree*/
llkFree(rawLicenseInfoJson);

Version history

  • Added in version 1.0.0