Commit 0451476b authored by Rafaël Carré's avatar Rafaël Carré

Do not leak the object name

parent 29e6e23f
......@@ -292,6 +292,7 @@ void CacheLoad( vlc_object_t *p_this )
while( i_submodules-- )
{
module_t *p_module = vlc_submodule_create( pp_cache[i]->p_module );
free( p_module->psz_object_name );
LOAD_STRING( p_module->psz_object_name );
LOAD_STRING( p_module->psz_shortname );
LOAD_STRING( p_module->psz_longname );
......
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