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
@ -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…
x
Reference in New Issue
Block a user