Commit f9dcd29d authored by François Cartegnie's avatar François Cartegnie 🤞

demux: mp4: clean fragments on open error (fix #17990)

parent 4bc872d4
......@@ -1032,9 +1032,10 @@ error:
vlc_stream_Seek( p_demux->s, 0 );
if( p_sys->p_root )
{
MP4_BoxFree( p_sys->p_root );
}
MP4_Fragments_Clean( &p_sys->fragments, MP4_BoxFree );
free( p_sys );
return VLC_EGENERIC;
}
......
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