Commit 15e5a7a6 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

mkv: Fix leak on error

parent 71eb04d9
......@@ -127,6 +127,8 @@ static int Open( vlc_object_t * p_this )
if( p_stream == NULL )
{
msg_Err( p_demux, "cannot find KaxSegment or missing mandatory KaxInfo" );
delete p_io_stream;
delete p_io_callback;
goto error;
}
p_sys->streams.push_back( p_stream );
......
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