mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 13:55:41 +00:00
mpegtsmux: Remove unneeded unref
packet_buffer has already been cleared in all code paths leading to this point. CID #1199696
This commit is contained in:
parent
c400eef377
commit
998e19896b
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue