]> git.sesse.net Git - vlc/commitdiff
macosx: NSScreen(VLCAdditions) does not leak.
authorDerk-Jan Hartman <hartman@videolan.org>
Mon, 22 Jun 2009 18:29:13 +0000 (20:29 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Mon, 22 Jun 2009 19:03:41 +0000 (21:03 +0200)
The Objective-C runtime will properly unload this at the end of the application. The mozilla plugin should not even be using this at all.

modules/gui/macosx/misc.m

index fe57179bc6570417461c169d94bfd4e74c4c5137..4d77a3824b94d39f8b7cfdbd67d1507ee8fff918 100644 (file)
@@ -132,13 +132,6 @@ static NSMutableArray *blackoutWindows = NULL;
     blackoutWindows = [[NSMutableArray alloc] initWithCapacity:1];
 }
 
-- (void)dealloc
-{
-    [blackoutWindows removeAllObjects];
-    [blackoutWindows release];
-    [super dealloc];
-}
-
 + (NSScreen *)screenWithDisplayID: (CGDirectDisplayID)displayID
 {
     int i;