Commit 351d907c authored by Zhao Zhili's avatar Zhao Zhili Committed by Hugo Beauzée-Luyssen

demux: cdg: fix invalid free

Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 87de295d
......@@ -148,7 +148,7 @@ static int Demux( demux_t *p_demux )
if( p_sys->p_es )
es_out_Send( p_demux->out, p_sys->p_es, p_block );
else
block_Release( p_sys->p_es );
block_Release( p_block );
return VLC_DEMUXER_SUCCESS;
}
......
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