pdfFree
Free all memory associated with a PDF handle.
void pdfFree(PDFHandle pdf)
This function closes the PDF file (which was opened with
pdfLoadFile
, pdfLoadMem
, etc.) and frees the memory associated
with the specified PDF handle.
IMPORTANT: The PDF file on disk (for pdfLoadFile
) or in memory
(for pdfLoadMem
) must not be deleted, modified, or freed until
after pdfFree
is called.
C:
pdfFree(pdf);