[vlc-devel] commit: macosx: fixed another array which isn't released before recreation ( Felix Paul Kühne )

git version control git at videolan.org
Fri May 29 20:01:46 CEST 2009


vlc | branch: 1.0-bugfix | Felix Paul Kühne <fkuehne at videolan.org> | Fri May 29 20:01:42 2009 +0200| [ced7fc2dd8673d5b4eeb8c95f98f456928f6f39a] | committer: Felix Paul Kühne 

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ced7fc2dd8673d5b4eeb8c95f98f456928f6f39a
---

 modules/gui/macosx/simple_prefs.m |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/macosx/simple_prefs.m b/modules/gui/macosx/simple_prefs.m
index f50390e..2f0b7b2 100644
--- a/modules/gui/macosx/simple_prefs.m
+++ b/modules/gui/macosx/simple_prefs.m
@@ -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];




More information about the vlc-devel mailing list