]> git.sesse.net Git - vlc/commitdiff
macosx: removeallObjects from NSMutableArray before releasing it.
authorJean-Paul Saman <jpsaman@videolan.org>
Mon, 25 May 2009 09:24:40 +0000 (11:24 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Mon, 15 Jun 2009 12:47:26 +0000 (14:47 +0200)
(cherry picked from commit b6a37e5e59aa4ad334d7de4b0440d88085b4fcde)

Signed-off-by: Derk-Jan Hartman <hartman@videolan.org>
modules/gui/macosx/misc.m

index 18519aa4a857a82e8b0ef355f8ed2eee50374f1d..fe57179bc6570417461c169d94bfd4e74c4c5137 100644 (file)
@@ -134,6 +134,7 @@ static NSMutableArray *blackoutWindows = NULL;
 
 - (void)dealloc
 {
+    [blackoutWindows removeAllObjects];
     [blackoutWindows release];
     [super dealloc];
 }