pdfCloseLibrary

Free all resources allocated by pdfInitLibrary.
void pdfCloseLibrary()
This function frees all library-global storage allocated by pdfInitLibrary.

Calling pdfCloseLibrary isn't strictly necessary, but might be useful, for example, if you're running a memory leak checker.

C:
pdfCloseLibrary();
pdfInitLibrary