[gstreamer-bugs] [Bug 592884] New: [playbin2] g_object_get increases refcount by 2 and therefore leaves memleak
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Aug 24 04:47:45 PDT 2009
http://bugzilla.gnome.org/show_bug.cgi?id=592884
Summary: [playbin2] g_object_get increases refcount by 2 and
therefore leaves memleak
Classification: Desktop
Product: GStreamer
Version: 0.10.24
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: andreas.frisch at multimedia-labs.de
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
--- Comment #0 from Fraxinas <andreas.frisch at multimedia-labs.de> 2009-08-24 11:47:44 UTC ---
looks as if gst_play_bin_get_current_sink does a g_object_ref and
g_value_set_object does too which results in the refcount being increased by 2.
therefore this requires double unref'ing to avoid memory leaking.
this call invokes the issue:
g_object_get (G_OBJECT (m_gst_playbin), "audio-sink", &sink, NULL);
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list