[gstreamer-bugs] [Bug 347311] New: element_unlink leaks it's iterator wich will leak the src element ref

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jul 12 07:26:02 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=347311
 GStreamer | gstreamer (core) | Ver: HEAD CVS

           Summary: element_unlink leaks it's iterator wich will leak the
                    src element ref
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: hexa00 at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


In the element_unlink function the iterator is not freed and since it's a
gst_element_iterator , the element is reffed by the iterator so if the iterator
is not freed we leak a ref of the element... wich is kinda bad in _unlink since
all the elements can have a ref leaked


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