Bug 690407 - memleaks in pdfinfo.c
Summary: memleaks in pdfinfo.c
Status: RESOLVED FIXED
Alias: None
Product: MuPDF
Classification: Unclassified
Component: mupdf (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P4 normal
Assignee: Tor Andersson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-12 22:38 UTC by Krzysztof Kowalczyk
Modified: 2009-07-02 16:23 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
memleaks.patch (6.22 KB, patch)
2009-04-12 22:39 UTC, Krzysztof Kowalczyk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.