Free memory allocated by the library.
void xpdfSpliceFreeMemory(void *ptr)
This function frees memory blocks allocated by the library and returned by various other functions.
It should only be used where the documentation for the function specifically states that it is required.
char *title; int length; title = xpdfSpliceGetInfo(in, "Title", &length); ... xpdfSpliceFreeMemory(title);