Commit 13dd520c authored by Francois Cartegnie's avatar Francois Cartegnie

demux: nuv: fix leaks on failed Open

parent d5897788
......@@ -336,8 +336,8 @@ static int Open( vlc_object_t * p_this )
error:
msg_Warn( p_demux, "cannot load Nuv file" );
Close( p_this );
p_demux->p_sys = NULL;
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