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

module bank: use vlc_custom_create

parent dcba3cae
...@@ -123,8 +123,8 @@ void __module_InitBank( vlc_object_t *p_this ) ...@@ -123,8 +123,8 @@ void __module_InitBank( vlc_object_t *p_this )
if( p_libvlc_global->p_module_bank == NULL ) if( p_libvlc_global->p_module_bank == NULL )
{ {
p_bank = vlc_object_create( p_this, sizeof(module_bank_t) ); p_bank = vlc_custom_create( p_this, sizeof(module_bank_t),
p_bank->psz_object_name = strdup( "module bank" ); VLC_OBJECT_GENERIC, "module bank");
p_bank->i_usage = 1; p_bank->i_usage = 1;
p_bank->i_cache = p_bank->i_loaded_cache = 0; p_bank->i_cache = p_bank->i_loaded_cache = 0;
p_bank->pp_cache = p_bank->pp_loaded_cache = NULL; p_bank->pp_cache = p_bank->pp_loaded_cache = NULL;
......
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