Commit 3935ef40 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Free zvbi resources on error in Open() function.

parent 4b6374f9
......@@ -143,7 +143,7 @@ static int Open( vlc_object_t *p_this )
if( (p_sys->p_vbi_dec == NULL) || (p_sys->p_dvb_demux == NULL) )
{
msg_Err( p_dec, "VBI decoder/demux could not be created." );
free( p_sys );
Close( p_this );
return VLC_ENOMEM;
}
......
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