Commit 17950a15 authored by Christophe Massiot's avatar Christophe Massiot

* ALL: a couple more vlc_object_release()...

parent 96377d38
......@@ -1038,6 +1038,7 @@ static int Other( vlc_object_t *p_this, char const *psz_cmd,
FIND_ANYWHERE );
if( !p_inp )
{
vlc_object_release( p_pl );
return VLC_ENOOBJ;
}
......
......@@ -109,26 +109,31 @@ static int Open( vlc_object_t *p_this )
if( OSFactory::instance( p_intf ) == NULL )
{
msg_Err( p_intf, "Cannot initialize OSFactory" );
vlc_object_release( p_intf->p_sys->p_playlist );
return VLC_EGENERIC;
}
if( AsyncQueue::instance( p_intf ) == NULL )
{
msg_Err( p_intf, "Cannot initialize AsyncQueue" );
vlc_object_release( p_intf->p_sys->p_playlist );
return VLC_EGENERIC;
}
if( Interpreter::instance( p_intf ) == NULL )
{
msg_Err( p_intf, "Cannot instanciate Interpreter" );
vlc_object_release( p_intf->p_sys->p_playlist );
return VLC_EGENERIC;
}
if( VarManager::instance( p_intf ) == NULL )
{
msg_Err( p_intf, "Cannot instanciate VarManager" );
vlc_object_release( p_intf->p_sys->p_playlist );
return VLC_EGENERIC;
}
if( VlcProc::instance( p_intf ) == NULL )
{
msg_Err( p_intf, "Cannot initialize VLCProc" );
vlc_object_release( p_intf->p_sys->p_playlist );
return VLC_EGENERIC;
}
Dialogs::instance( p_intf );
......
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