File Content Extraction 26.3
Filter SDK C Programming Guide

# fpFreeFilterOutput()

This function frees the memory allocated in the `pFilterOutput` argument of fpFilter() or fpFilterStream().

## Syntax

    BOOL pascal fpFreeFilterOutput(
        KVFilterSession session,
        KVFilterOutput *pFilterOutput);

## Arguments

`session` | A Filter session that you initialized by calling fpInit().
`pFilterOutput` | A pointer to the KVFilterOutput structure.

## Returns

If the call is successful, the return value is `TRUE`. If the call is unsuccessful, the return value is `FALSE`.

## Lifetimes and Memory Management

See fpFilter().

## Discussion

Call this function after each chunk of filter output is returned by fpFilterStream, after the data is no longer required, before calling fpFilterStream again. It is not necessary to call this function for the final call to fpFilterStream (when `pFilterOutput->cbText == 0`).

This function does not free `pFilterOutput` itself.

Copyright 1997-2026 Open Text
Version 26.3 | Last updated July 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 26.3

Topic Title: fpFreeFilterOutput()