summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--gst/rtpmanager/gstrtpbin.c2
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a5655b0d..5b68964c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-02-20 Sebastian Dröge <slomo@circular-chaos.org>
+
+ Patch by: Olivier Crete <tester at tester dot ca>
+
+ * gst/rtpmanager/gstrtpbin.c: (new_ssrc_pad_found):
+ Fix small memory leak, leaking caps. Fixes #bug 517571.
+
2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
* gst/tta/Makefile.am:
diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c
index 526cf957..4f580f48 100644
--- a/gst/rtpmanager/gstrtpbin.c
+++ b/gst/rtpmanager/gstrtpbin.c
@@ -1748,6 +1748,8 @@ new_ssrc_pad_found (GstElement * element, guint ssrc, GstPad * pad,
stream->clock_base = val;
else
stream->clock_base = -1;
+
+ gst_caps_unref (caps);
}
/* get pad and link */