Re: Re: Memory leak in attribute.c

Bob Friesenhahn <[email protected]> Thu, 5 Jan 2006 11:09:15 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.bugs
Message-ID <[email protected]>
On Wed, 4 Jan 2006, [iso-8859-2] Micha³ Kowalczuk wrote:
>>
>> Thanks for the report.  The fix is almost as gross as the code.  Maybe
>> a better approach is to use a 'goto' statement.  Certainly 'goto' is
>> frowned on, but in this case it seems to make sense.  There is also
>> the possiblity of adding an error-reporting macro which also releases
>> any resources.  But I like the goto.
>
> OK, should I make another patch with 'goto' statement or will you fix it?

It is already fixed in CVS and the latest source snapshot.

Bob
======================================
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/