summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTommi Myöhänen <ext-tommi.myohanen@nokia.com>2007-11-15 17:01:32 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-11-15 17:01:32 +0000
commitb026306147175c2c95922e69fcfafacdfb3483f3 (patch)
tree58e8e0de18a0c87b1d76955d31999cb52b8fa29c
parenta4540bca1e0ee64dc60c68cec03e5f3e9639e92c (diff)
gst/rtp/gstrtph264depay.c: Fix small leak. Fixes #497017.
Original commit message from CVS: Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com> * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_setcaps): Fix small leak. Fixes #497017.
-rw-r--r--ChangeLog7
-rw-r--r--gst/rtp/gstrtph264depay.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 34374261..d69dddc7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2007-11-15 Wim Taymans <wim.taymans@gmail.com>
+ Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
+
+ * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_setcaps):
+ Fix small leak. Fixes #497017.
+
+2007-11-15 Wim Taymans <wim.taymans@gmail.com>
+
* 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 164ef56c..203cdf21 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.