tpm2-tss  master
TPM Software stack 2.0 TCG spec compliant implementation
Fapi_Free

Functions

void Fapi_Free (void *ptr)
 

Detailed Description

FAPI function to invoke Free.

Function Documentation

◆ Fapi_Free()

Fapi_Free ( void *  ptr)

Frees a FAPI allocated return buffer.

Fapi_Free is a helper function that is a wrapper around free(). This allows programs that are built using a different version of the C runtime to free memory that has been allocated by the esys library on Windows.

Parameters
[in]ptrA pointer to the object that is to be freed.