---
name: "Fapi_Free"
section: "3"
platform: "linux"
package: "tpm2-tss"
version: "4.2.0-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Fapi_Free"
---

# Fapi\_Free(3)

Fapi\_Free

## NAME

Fapi\_Free - Fapi\_Free

## SYNOPSIS

### Functions

void **Fapi\_Free** (void \*ptr)\

## Detailed Description

FAPI function to invoke Free.

## Function Documentation

### void 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**

*ptr* A pointer to the object that is to be freed.

## Author

Generated automatically by Doxygen for tpm2-tss from the source code.
