summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Crete <tester@tester.ca>2008-02-20 09:33:25 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-02-20 09:33:25 +0000
commitd12d2dacde584b69a9fd9a58725ed5a853d8ca57 (patch)
treebe48f3a85b266a45e4f463a4773b20c36665c27c
parentcf73fc01ef602e8870f791cb22e2e1d74b35af86 (diff)
downloadgst-plugins-bad-d12d2dacde584b69a9fd9a58725ed5a853d8ca57.tar.gz
gst-plugins-bad-d12d2dacde584b69a9fd9a58725ed5a853d8ca57.tar.bz2
gst-plugins-bad-d12d2dacde584b69a9fd9a58725ed5a853d8ca57.zip
gst/rtpmanager/gstrtpbin.c: Fix small memory leak, leaking caps. Fixes #bug 517571.
Original commit message from CVS: 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.
-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 */