[vlc-devel] commit: macosx: NSScreen(VLCAdditions) does not leak. (Derk-Jan Hartman )

git version control git at videolan.org
Mon Jun 22 21:03:42 CEST 2009


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Mon Jun 22 20:29:13 2009 +0200| [573844a977ad1224efc9dde74e42f33d07ccc5c9] | committer: Derk-Jan Hartman 

macosx: NSScreen(VLCAdditions) does not leak.

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.

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

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

diff --git a/modules/gui/macosx/misc.m b/modules/gui/macosx/misc.m
index fe57179..4d77a38 100644
--- a/modules/gui/macosx/misc.m
+++ b/modules/gui/macosx/misc.m
@@ -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;




More information about the vlc-devel mailing list