Freeing the Memory Allocated by the SDK

The ruiFree() function frees the memory allocated by the SDK. The APIs that return allocated memory are: ruiGetSDKVersion(), ruiCheckForReachOut(), ruiCheckForReachOutOfType(), ruiCheckLicenseKey(), and ruiSetLicenseKey().

ruiFree() can be called any time and can be called more than once.

ruiFree() is a synchronous function, returning when all functionality is completed.

ruiFree()

void ruiFree(void* arg)

Parameters

The ruiFree() function has the following parameters.

ruiFree() Parameters

Parameter

Description

arg (void*)

Pointer to allocated memory returned by the SDK in one of the above APIs.