diff options
author | Olivier Crete <tester@tester.ca> | 2008-02-20 09:33:25 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-02-20 09:33:25 +0000 |
commit | d12d2dacde584b69a9fd9a58725ed5a853d8ca57 (patch) | |
tree | be48f3a85b266a45e4f463a4773b20c36665c27c /gst/rtpmanager | |
parent | cf73fc01ef602e8870f791cb22e2e1d74b35af86 (diff) | |
download | gst-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.
Diffstat (limited to 'gst/rtpmanager')
-rw-r--r-- | gst/rtpmanager/gstrtpbin.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |