[gstreamer-bugs] [Bug 496983] New: [PATCH] rtspsrc leaks pads

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Nov 15 00:41:40 PST 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=496983

  GStreamer | gst-plugins-good | Ver: HEAD CVS
           Summary: [PATCH] rtspsrc leaks pads
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ext-tommi.myohanen at nokia.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


RTSP source element leaks pads in following situations:

1. Channel pads: when using TCP transport and gst_rtspsrc_stream_free() is
called. This happens because stream->channelpad[i] is unref'ed only if
stream->udpsrc[i] != NULL. In TCP transport this is false.

2. rtcppad is created in gst_rtspsrc_stream_configure_tcp() and
gst_rtspsrc_stream_configure_udp_sink() functions, but never unref'ed.

3. In gst_rtspsrc_stream_configure_tcp() a "template" GstPadTemplate is created
(if (src->session)), but it is not unref'ed.

Attached patch fixes these leaks.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=496983.




More information about the Gstreamer-bugs mailing list