summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Glayal <spglegle@yahoo.fr>2007-10-09 10:01:39 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-08-11 02:30:31 +0100
commit8da59edc68158a45555c141b54dc4ac3a434b770 (patch)
tree77bded7d43926cc786a1a20445e2af28dd409609
parentc924d4a466de1178100f16ea2c3322316c2d7016 (diff)
gst/rtpmanager/gstrtpbin.c: Fix memleak. Fixes #484990.
Original commit message from CVS: Patch by: Laurent Glayal <spglegle at yahoo dot fr> * gst/rtpmanager/gstrtpbin.c: (create_stream), (gst_rtp_bin_class_init): Fix memleak. Fixes #484990.
-rw-r--r--gst/rtpmanager/gstrtpbin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c
index eddd137c..034d652b 100644
--- a/gst/rtpmanager/gstrtpbin.c
+++ b/gst/rtpmanager/gstrtpbin.c
@@ -912,6 +912,7 @@ create_stream (GstRtpBinSession * session, guint32 ssrc)
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);