i_ret = VLC_EEXITSUCCESS;
}
- /* Set the config file stuff */
- priv->psz_configfile = config_GetCustomConfigFile( p_libvlc );
-
/* Check for plugins cache options */
bool b_cache_delete = config_GetInt( p_libvlc, "reset-plugins-cache" ) > 0;
if( b_exit )
{
- free( priv->psz_configfile );
module_EndBank( p_libvlc, false );
return i_ret;
}
if( b_exit )
{
- free( priv->psz_configfile );
module_EndBank( p_libvlc, true );
return i_ret;
}
"that they are valid.\n" );
PauseConsole();
#endif
- free( priv->psz_configfile );
module_EndBank( p_libvlc, true );
return VLC_EGENERIC;
}
module_unneed( p_libvlc, priv->p_memcpy_module );
}
module_EndBank( p_libvlc, true );
- free( priv->psz_configfile );
return VLC_EGENERIC;
}
playlist_Activate( p_playlist );
/* Free module bank. It is refcounted, so we call this each time */
module_EndBank( p_libvlc, true );
- FREENULL( priv->psz_configfile );
var_DelCallback( p_libvlc, "key-pressed", vlc_key_to_action,
(void *)p_libvlc->p_hotkeys );
free( (void *)p_libvlc->p_hotkeys );