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.
This commit is contained in:
Olivier Crete 2008-02-20 09:33:25 +00:00 committed by Sebastian Dröge
parent cf73fc01ef
commit d12d2dacde
2 changed files with 9 additions and 0 deletions

View file

@ -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:

View file

@ -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 */