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.
This commit is contained in:
Tommi Myöhänen 2007-11-15 17:01:32 +00:00 committed by Wim Taymans
parent a4540bca1e
commit b026306147
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,10 @@
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),

View file

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