---
name: "rtf_destroy_filter"
section: "3"
platform: "linux"
package: "librtfilter-dev"
version: "1.1-4+b3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rtf_destroy_filter"
---

# rtf\_destroy\_filter(3)

destroys a filter

## NAME

rtf\_filter - destroys a filter

## SYNOPSIS

**#include \<rtfilter.h\>**

**void rtf\_destroy\_filter(hfilter** *filt***);**\

## DESCRIPTION

This function destroys the filter referenced by the handle *filt* and free all the associated resources. After destruction, no reference to *filt* should be made. If *filt* is NULL, the function returns without doing anything.

## RETURN VALUE

None

## SEE ALSO

[**rtf\_create\_filter**(3)](/rtf_create_filter/3.md)
