Commit c8549fb5 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: ts: memleak due missing psi pkt release

parent 454c6cf0
......@@ -1301,10 +1301,12 @@ static int Demux( demux_t *p_demux )
{
case TYPE_PAT:
dvbpsi_packet_push( p_pid->u.p_pat->handle, p_pkt->p_buffer );
block_Release( p_pkt );
break;
case TYPE_PMT:
dvbpsi_packet_push( p_pid->u.p_pmt->handle, p_pkt->p_buffer );
block_Release( p_pkt );
break;
case TYPE_PES:
......@@ -1340,6 +1342,7 @@ static int Demux( demux_t *p_demux )
case TYPE_EIT:
if( p_sys->b_dvb_meta )
dvbpsi_packet_push( p_pid->u.p_psi->handle, p_pkt->p_buffer );
block_Release( p_pkt );
break;
default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment