Commit 2ccc18b4 authored by Felix Paul Kühne's avatar Felix Paul Kühne Committed by Jean-Baptiste Kempf

macosx: fixed another array which isn't released before recreation

(cherry picked from commit ced7fc2d)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5ce1ac75
...@@ -590,6 +590,7 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des ...@@ -590,6 +590,7 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
i++; i++;
} }
[o_hotkeyDescriptions release];
o_hotkeyDescriptions = [[NSArray alloc] initWithArray: o_tempArray_desc copyItems: YES]; o_hotkeyDescriptions = [[NSArray alloc] initWithArray: o_tempArray_desc copyItems: YES];
[o_tempArray_desc release]; [o_tempArray_desc release];
[o_hotkeys_listbox reloadData]; [o_hotkeys_listbox reloadData];
......
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