[gstreamer-bugs] [Bug 484990] New: memleak - missing g_free() rtpmanager/gstrtpbin.c

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

  GStreamer | gst-plugins-bad | Ver: HEAD CVS
           Summary: memleak - missing g_free() rtpmanager/gstrtpbin.c
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        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


Missing g_free for string at gstrtpbin.c:911 .

Patch :
Index: gstrtpbin.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-bad/gst/rtpmanager/gstrtpbin.c,v
retrieving revision 1.30
diff -u -r1.30 gstrtpbin.c
--- gstrtpbin.c 8 Oct 2007 10:39:34 -0000       1.30
+++ gstrtpbin.c 9 Oct 2007 09:25:33 -0000
@@ -912,6 +912,7 @@
   templ = gst_static_pad_template_get (&rtpbin_sync_sink_template);
   stream->sync_pad = gst_pad_new_from_template (templ, padname);
   gst_object_unref (templ);
+  g_free(padname);
   gst_object_ref (stream->sync_pad);
   gst_object_sink (stream->sync_pad);
   gst_pad_set_element_private (stream->sync_pad, stream);


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




More information about the Gstreamer-bugs mailing list