There are many memleaks in pdfinfo.c, which makes it hard to find real leaks in mupdf core using valgrind. Attached patch: * fixed many (but not all) leaks * fixes a type where we were resolving type instead of width
Created attachment 4922 [details] memleaks.patch
Fixed in the patch that added automatic resolving of indirect references.