Page 1 of 1

Possible leak in xml-tree.c [IM 6.4.3-5]

Posted: 2008-08-28T13:50:11-07:00
by dirving
In xml-tree.c on line 1483 memory is allocated for a string located in processing_instructions[0]. In the DestroyXMLTree method on line 548 we start the loop through the processing_instructions array at [1] instead of [0] so the previously allocated string never gets torn down.

Re: Possible leak in xml-tree.c [IM 6.4.3-5]

Posted: 2008-08-28T14:08:06-07:00
by magick
Thanks for the problem report. We will have a fix in the ImageMagick subversion trunk by end-of-day.