GNOME Bugzilla – Bug 529546
[Playbin] Memory leak in streaminfo handling
Last modified: 2008-04-24 08:20:31 UTC
The code below could be removed from setup_sinks() as it does nothing and it seems the "object" should be unreffed in order to avoid leaked reference: /* now actually connect everything */ g_object_get (G_OBJECT (play_base_bin), "stream-info", &streaminfo, NULL); for (s = streaminfo; s; s = g_list_next (s)) { GObject *obj = G_OBJECT (s->data); gint type; GstObject *object; g_object_get (obj, "type", &type, NULL); g_object_get (obj, "object", &object, NULL); }
Created attachment 109806 [details] [review] removed obsolete code
2008-04-24 Stefan Kost <ensonic@users.sf.net> * gst/playback/gstplaybin.c: Remove obsolete streaminfo code and fix a leak. Fixes #529546