---
name: "ppd_file_free"
section: "3"
platform: "linux"
package: "libppd-dev"
version: "2:0.10-9"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/ppd_file_free"
---

# ppd\_file\_free(3)

Free memory used by a ppd structure

## NAME

ppd\_file\_free - Free memory used by a ppd structure

## SYNOPSIS

```
#include <ppd.h>

void ppd_file_free(PpdFile * ppd );
```

## DESCRIPTION

There are many dynamically allocated sub structures within the PpdFile  structure and this makes sure that they are all freed up appropriately. The PpdFile pointer must have been previously obtained via a call to one of the [ppd\_file\_new(3)](/ppd_file_new/3.md) functions.

## SEE ALSO

[**ppd\_file\_new**(3)](/ppd_file_new/3.md), [**ppd\_emit\_to\_file**(3)](/ppd_emit_to_file/3.md)
