From b026306147175c2c95922e69fcfafacdfb3483f3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tommi=20My=C3=B6h=C3=A4nen?= Date: Thu, 15 Nov 2007 17:01:32 +0000 Subject: [PATCH] gst/rtp/gstrtph264depay.c: Fix small leak. Fixes #497017. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Original commit message from CVS: Patch by: Tommi Myöhänen * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_setcaps): Fix small leak. Fixes #497017. --- ChangeLog | 7 +++++++ gst/rtp/gstrtph264depay.c | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3437426..d69dddc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2007-11-15 Wim Taymans + Patch by: Tommi Myöhänen + + * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_setcaps): + Fix small leak. Fixes #497017. + +2007-11-15 Wim Taymans + * gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state), (gst_qtdemux_prepare_current_sample), (gst_qtdemux_loop_state_movie), (qtdemux_parse_theora_extension), diff --git a/gst/rtp/gstrtph264depay.c b/gst/rtp/gstrtph264depay.c index 164ef56..203cdf2 100644 --- a/gst/rtp/gstrtph264depay.c +++ b/gst/rtp/gstrtph264depay.c @@ -257,6 +257,7 @@ gst_rtp_h264_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps) b64 += len; } GST_BUFFER_SIZE (codec_data) = total; + g_strfreev (params); /* keep the codec_data, we need to send it as the first buffer. We cannot * push it in the adapter because the adapter might be flushed on discont. -- 2.7.4