Commit b601408c authored by Felix Paul Kühne's avatar Felix Paul Kühne

* don't alloc more capacity than necessary

parent eeda90f3
/*****************************************************************************
* prefs.m: MacOS X module for vlc
*****************************************************************************
* Copyright (C) 2002-2005 the VideoLAN team
* Copyright (C) 2002-2006 the VideoLAN team
* $Id$
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
......@@ -303,7 +303,7 @@ static VLCTreeItem *o_root_item = nil;
* generate their config panel them when it is asked by the user. */
VLCTreeItem *p_last_category = NULL;
p_item = p_module->p_config;
o_children = [[NSMutableArray alloc] initWithCapacity:20];
o_children = [[NSMutableArray alloc] initWithCapacity:10];
if( p_item ) do
{
NSString *o_child_name;
......
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