Click or drag to resize

PdfiumFPDF_FreeMemory Method

Note: This API is now obsolete.

Free a memory area allocated by Pdfium SDK.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
[ObsoleteAttribute("This method is obsolete", true)]
public static void FPDF_FreeMemory(
	IntPtr handle
)

Parameters

handle  IntPtr
The pointer. Should not be IntPtr.Zero.

Return Value

The allocated pointer. IntPtr.Zero if memory not available.
Remarks

This method is obsolete and will be removed in a future release of the Pdfium .Net SDK

In case FPDFSDK allocated some memory for user application, the user application must free it to avoid memory leakage. And the application must call FPDF_FreeMemory function to do that. Do NOT use c/c++ memory free() function or other similar functions.
See Also