Commit 8fb46d38 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Try to clean a bit the prefs code.

parent 526bc3ad
...@@ -363,9 +363,10 @@ static VLCTreeItem *o_root_item = nil; ...@@ -363,9 +363,10 @@ static VLCTreeItem *o_root_item = nil;
default: default:
break; break;
} }
vlc_object_release( (vlc_object_t *)p_main_module );
} }
vlc_object_release( (vlc_object_t *)p_main_module );
/* List the modules */ /* List the modules */
p_list = vlc_list_find( p_intf, VLC_OBJECT_MODULE, FIND_ANYWHERE ); p_list = vlc_list_find( p_intf, VLC_OBJECT_MODULE, FIND_ANYWHERE );
if( !p_list ) return nil; if( !p_list ) return nil;
...@@ -584,7 +585,7 @@ static VLCTreeItem *o_root_item = nil; ...@@ -584,7 +585,7 @@ static VLCTreeItem *o_root_item = nil;
else else
{ {
p_main_module = module_GetMainModule( p_intf ); p_main_module = module_GetMainModule( p_intf );
assert( !p_main_module ); assert( p_main_module );
module_config_t *p_items; module_config_t *p_items;
unsigned int i, confsize; unsigned int i, confsize;
......
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