GNOME Bugzilla – Bug 583803
pngdec: mismatched g_malloc/free
Last modified: 2009-05-25 14:35:32 UTC
Please describe the problem: In the PNG decoder there is a variable allocated with g_malloc but free'd with free (should be g_free). Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 135325 [details] [review] Patch to fix this bug
commit 32491d5a515529af6f6d9a9646430bdbdf2a2267 Author: John Keeping <john.keeping at lineone.net> Date: Mon May 25 16:33:35 2009 +0200 pngdec: match g_malloc() with g_free() Matching g_malloc() with a g_free() is important when a custom allocator is installed. Fixes #583803