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
WMF memory leaks
WMF memory leaks
Manuel Jouglet
Mootools
Mootools
Re: WMF memory leaks
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.