diff options
author | Edward Hervey <bilboed@bilboed.com> | 2014-04-11 11:34:26 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2014-04-11 11:34:26 +0200 |
commit | 998e19896b24341e9adf26523c4512a35305c227 (patch) | |
tree | e0aeab01877c8562fbc4c61c3f12f2560f9c60cd /gst | |
parent | c400eef3772b7dc470eefae02a1288c2b125e25c (diff) | |
download | gstreamer-plugins-bad-998e19896b24341e9adf26523c4512a35305c227.tar.gz |
mpegtsmux: Remove unneeded unref
packet_buffer has already been cleared in all code paths leading
to this point.
CID #1199696
Diffstat (limited to 'gst')
-rw-r--r-- | gst/mpegtsmux/tsmux/tsmux.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gst/mpegtsmux/tsmux/tsmux.c b/gst/mpegtsmux/tsmux/tsmux.c index 5b94ffad5..6a1c06435 100644 --- a/gst/mpegtsmux/tsmux/tsmux.c +++ b/gst/mpegtsmux/tsmux/tsmux.c @@ -937,8 +937,6 @@ tsmux_section_write_packet (GstMpegTsSectionType * type, fail: if (packet) g_free (packet); - if (packet_buffer) - gst_buffer_unref (packet_buffer); if (section_buffer) gst_buffer_unref (section_buffer); return FALSE; |