From b026306147175c2c95922e69fcfafacdfb3483f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?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=UTF-8 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 34374261ca..d69dddc713 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +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), diff --git a/gst/rtp/gstrtph264depay.c b/gst/rtp/gstrtph264depay.c index 164ef56c63..203cdf21e0 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.