[gstreamer-bugs] [Bug 484989] New: memleak, not unrefed caps for gstbasertppayload.c

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Oct 9 02:25:29 PDT 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=484989

  GStreamer | gst-plugins-base | Ver: HEAD CVS
           Summary: memleak, not unrefed caps for gstbasertppayload.c
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: spglegle at yahoo.fr
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Following caps are not unreffed :

506 :                    temp = gst_caps_intersect (srccaps, peercaps);

Patch :
Index: gstbasertppayload.c
===================================================================
RCS file:
/cvs/gstreamer/gst-plugins-base/gst-libs/gst/rtp/gstbasertppayload.c,v
retrieving revision 1.30
diff -u -r1.30 gstbasertppayload.c
--- gstbasertppayload.c 19 Sep 2007 15:55:08 -0000      1.30
+++ gstbasertppayload.c 9 Oct 2007 09:18:51 -0000
@@ -573,6 +573,8 @@

     gst_structure_foreach (s, (GstStructureForeachFunc) copy_fixed, d);

+    gst_caps_unref(temp);
+
     GST_DEBUG_OBJECT (payload, "with peer caps: %" GST_PTR_FORMAT, srccaps);
   }


-- 
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=484989.




More information about the Gstreamer-bugs mailing list