WMF memory leaks

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
mootools
Posts: 19
Joined: 2005-06-30T06:08:40-07:00
Location: France

WMF memory leaks

Post 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
Manuel Jouglet
Mootools
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: WMF memory leaks

Post 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.
Post Reply