Commit 950f2927 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Module bank memleak

parent 38460cb4
......@@ -254,6 +254,7 @@ void __module_EndBank( vlc_object_t *p_this )
if( p_bank->b_cache ) CacheSave( p_this );
while( p_bank->i_loaded_cache-- )
{
DeleteModule( p_bank->pp_loaded_cache[p_bank->i_loaded_cache]->p_module );
free( p_bank->pp_loaded_cache[p_bank->i_loaded_cache]->psz_file );
free( p_bank->pp_loaded_cache[p_bank->i_loaded_cache] );
}
......
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