]> git.sesse.net Git - vlc/commitdiff
macosx: fixed another array which isn't released before recreation
authorFelix Paul Kühne <fkuehne@videolan.org>
Fri, 29 May 2009 18:01:42 +0000 (20:01 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 29 May 2009 22:32:43 +0000 (00:32 +0200)
(cherry picked from commit ced7fc2dd8673d5b4eeb8c95f98f456928f6f39a)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/macosx/simple_prefs.m

index 94eaa50c8d91fa01ff743d08cee12723c92123cd..914c566dfbda4d405b42025c5f61e84c34f6f292 100644 (file)
@@ -590,6 +590,7 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
 
         i++;
     }
+    [o_hotkeyDescriptions release];
     o_hotkeyDescriptions = [[NSArray alloc] initWithArray: o_tempArray_desc copyItems: YES];
     [o_tempArray_desc release];
     [o_hotkeys_listbox reloadData];