Page 1 of 1

WMF memory leaks

Posted: 2008-02-19T02:15:44-07:00
by mootools
Hello,

WMF parser is full of memory leaks.
I suspect that some memory allocated in lite_font_map is not correctly released.
I don't really know how to correct the bug, as I don't know anything about the WMF lib.

The following document generates helps to reproduce the problem and get memory leaks.

http://www.mootools.com/tmp/leaks.wmf

I hope this will help to improve the parser,

Manuel

Re: WMF memory leaks

Posted: 2008-02-19T08:11:46-07:00
by magick
We cannot reproduce the problem. We ran valgrind, a memory debugger, against your leaks.wmf image and no leaks were reported. We are using ImageMagick 6.3.8-9.