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 654293 - [basevideodecoder] Leaks coder_hook
[basevideodecoder] Leaks coder_hook
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.13
Other Linux
: Normal major
: 0.10.23
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-07-09 08:51 UTC by Sebastian Dröge (slomo)
Modified: 2011-07-09 09:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2011-07-09 08:51:59 UTC
When allocating memory for the coder_hook of GstVideoFrame it is possible that the frame is destroyed without the coder_hook ever being freed. There should be a GDestroyNotify or something for the coder_hook and I'm going to attach a patch for that now.
Comment 1 Sebastian Dröge (slomo) 2011-07-09 09:27:02 UTC
commit fc93c66d3be4dc02af2e9f1215ae43e540bc67e5
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Sat Jul 9 10:57:52 2011 +0200

    basevideo: Add destroy notify for the coder_hook to prevent memory leaks
    
    Fixes bug #654293.