diff options
author | Olivier Crete <tester@tester.ca> | 2008-02-20 09:33:25 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-08-11 02:30:34 +0100 |
commit | db8bdc8b927ef5156bbfc84c9c084abc8b667822 (patch) | |
tree | f174a101e0a12b51e0e66d751d6459964763ef43 | |
parent | a301c9a22b5c442ec072fa9c2fc298f59a9ab21b (diff) |
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-- | 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 526cf9577..4f580f48f 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 */ |