After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 583803 - pngdec: mismatched g_malloc/free
pngdec: mismatched g_malloc/free
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal minor
: 0.10.16
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-05-25 14:18 UTC by John Keeping
Modified: 2009-05-25 14:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix this bug (390 bytes, patch)
2009-05-25 14:20 UTC, John Keeping
committed Details | Review

Description John Keeping 2009-05-25 14:18:59 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:
Comment 1 John Keeping 2009-05-25 14:20:04 UTC
Created attachment 135325 [details] [review]
Patch to fix this bug
Comment 2 Wim Taymans 2009-05-25 14:35:32 UTC
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