[gstreamer-bugs] [Bug 592884] [playbin2] g_object_get increases refcount by 2 and therefore leaves memleak

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Aug 24 06:09:26 PDT 2009


http://bugzilla.gnome.org/show_bug.cgi?id=592884


Wim Taymans <wim.taymans> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.25


--- Comment #2 from Wim Taymans <wim.taymans at gmail.com> 2009-08-24 13:09:23 UTC ---
commit c3ebeec5a54c6c00bf30f7196968a9369c3d8205
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Mon Aug 24 15:06:28 2009 +0200

    playbin2: fix refcounting of _get_sink()

    g_value_set_object() increases the refcount of the sink, which is not
needed
    because the object should already be refcounted. Make sure this is always
the
    case and use g_value_take_object().

    Fixes: #592884

-- 
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