Bug 690407

Summary: memleaks in pdfinfo.c
Product: MuPDF Reporter: Krzysztof Kowalczyk <kkowalczyk>
Component: mupdfAssignee: Tor Andersson <tor.andersson>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P4    
Version: unspecified   
Hardware: PC   
OS: Windows XP   
Customer: Word Size: ---
Attachments: memleaks.patch

Description Krzysztof Kowalczyk 2009-04-12 22:38:45 UTC
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
Comment 1 Krzysztof Kowalczyk 2009-04-12 22:39:03 UTC
Created attachment 4922 [details]
memleaks.patch
Comment 2 Tor Andersson 2009-07-02 16:23:01 UTC
Fixed in the patch that added automatic resolving of indirect references.