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 339808 - [patch] mem-leak of bin in gstbin.c
[patch] mem-leak of bin in gstbin.c
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.10.6
Assigned To: Stefan Sauer (gstreamer, gtkdoc dev)
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-26 12:41 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2006-04-28 13:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix ref-leak (379 bytes, patch)
2006-04-26 12:42 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
none Details | Review
updated patch (689 bytes, patch)
2006-04-26 15:13 UTC, Wim Taymans
committed Details | Review

Description Stefan Sauer (gstreamer, gtkdoc dev) 2006-04-26 12:41:20 UTC
gst_bin_handle_message_func can leak the bin refcount
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2006-04-26 12:42:33 UTC
Created attachment 64319 [details] [review]
fix ref-leak
Comment 2 Wim Taymans 2006-04-26 15:13:07 UTC
Created attachment 64328 [details] [review]
updated patch

well spotted, indeed. Even better is the updated patch as it avoids a _ref/_unref.
Comment 3 Wim Taymans 2006-04-28 13:05:11 UTC
        Patch by: Stefan Kost <ensonic at sonicpulse dot de>

        * gst/gstbin.c: (gst_bin_handle_message_func):
        Update docs.
        Don't leak bin refcount when a state recalc is
        in progress and we delay another one #339808.