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

git version control git at videolan.org
Sat May 30 00:32:49 CEST 2009


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri May 29 20:01:42 2009 +0200| [2ccc18b42a99d08016b28230e242b17040fc4780] | committer: Jean-Baptiste Kempf 

macosx: fixed another array which isn't released before recreation
(cherry picked from commit ced7fc2dd8673d5b4eeb8c95f98f456928f6f39a)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 94eaa50..914c566 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