diff --git a/ChangeLog b/ChangeLog index a5655b0d83..5b68964cab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-02-20 Sebastian Dröge + + Patch by: Olivier Crete + + * gst/rtpmanager/gstrtpbin.c: (new_ssrc_pad_found): + Fix small memory leak, leaking caps. Fixes #bug 517571. + 2008-02-19 Sebastian Dröge * gst/tta/Makefile.am: diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c index 526cf9577e..4f580f48ff 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 */