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 426250 - GstPlayBaseBin leaks streaminfo objects
GstPlayBaseBin leaks streaminfo objects
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.13
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-04-04 14:52 UTC by Tommi Myöhänen
Modified: 2007-04-05 10:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix leak (455 bytes, patch)
2007-04-04 14:53 UTC, Tommi Myöhänen
none Details | Review
Updated patch (452 bytes, patch)
2007-04-04 14:57 UTC, Tommi Myöhänen
committed Details | Review

Description Tommi Myöhänen 2007-04-04 14:52:38 UTC
Memory is leaked in add_stream(), when g_value_set_object() increases the refcount of streaminfo object.
Comment 1 Tommi Myöhänen 2007-04-04 14:53:33 UTC
Created attachment 85804 [details] [review]
Patch to fix leak
Comment 2 Tommi Myöhänen 2007-04-04 14:57:32 UTC
Created attachment 85805 [details] [review]
Updated patch
Comment 3 Wim Taymans 2007-04-05 10:26:58 UTC
        Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>

        * gst/playback/gstplaybasebin.c: (add_stream):
        Fix leak in add_stream(), when g_value_set_object() increases the
        refcount of streaminfo object. Fixes #426250.