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

Small mem leak

parent 40350e4f
...@@ -1707,6 +1707,7 @@ static void CacheLoad( vlc_object_t *p_this ) ...@@ -1707,6 +1707,7 @@ static void CacheLoad( vlc_object_t *p_this )
p_this->p_libvlc->p_module_bank->i_loaded_cache = 0; p_this->p_libvlc->p_module_bank->i_loaded_cache = 0;
fread( &i_cache, sizeof(char), sizeof(i_cache), file ); fread( &i_cache, sizeof(char), sizeof(i_cache), file );
if( i_cache )
pp_cache = p_this->p_libvlc->p_module_bank->pp_loaded_cache = pp_cache = p_this->p_libvlc->p_module_bank->pp_loaded_cache =
malloc( i_cache * sizeof(void *) ); malloc( i_cache * sizeof(void *) );
......
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