Commit b1e9d504 authored by Laurent Aimar's avatar Laurent Aimar
Browse files

Fixed memory leak when we cannot save the configuration file.

parent ed3e4d07
......@@ -1111,6 +1111,7 @@ static int SaveConfigFile( vlc_object_t *p_this, const char *psz_module_name,
if( !file )
{
vlc_list_release( p_list );
free( p_bigbuffer );
vlc_mutex_unlock( &p_this->p_libvlc->config_lock );
return -1;
}
......
Supports Markdown
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