Commit 71cbdc47 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

pva: remove redundant test

parent 13088dda
......@@ -128,8 +128,8 @@ static void Close( vlc_object_t *p_this )
demux_t *p_demux = (demux_t*)p_this;
demux_sys_t *p_sys = p_demux->p_sys;
if( p_sys->p_es ) block_ChainRelease( p_sys->p_es );
if( p_sys->p_pes ) block_ChainRelease( p_sys->p_pes );
block_ChainRelease( p_sys->p_es );
block_ChainRelease( p_sys->p_pes );
free( p_sys );
}
......
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