summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--gst/rtpmanager/gstrtpbin.c1
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8d22a77b..d3433507 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-10-09 Wim Taymans <wim.taymans@gmail.com>
+
+ Patch by: Laurent Glayal <spglegle at yahoo dot fr>
+
+ * gst/rtpmanager/gstrtpbin.c: (create_stream),
+ (gst_rtp_bin_class_init):
+ Fix memleak. Fixes #484990.
+
2007-10-08 Jan Schmidt <Jan.Schmidt@sun.com>
* gst/librfb/rfbbuffer.c: (rfb_buffer_new_and_alloc):
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);