[vlc-devel] commit: macosx: NSScreen(VLCAdditions) does not leak. (Derk-Jan Hartman )
git version control
git at videolan.org
Mon Jun 22 21:08:08 CEST 2009
vlc | branch: 1.0-bugfix | Derk-Jan Hartman <hartman at videolan.org> | Mon Jun 22 20:29:13 2009 +0200| [906c413d3c32b16d0156650bd02bd70058d31ada] | 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.
(cherry picked from commit 573844a977ad1224efc9dde74e42f33d07ccc5c9)
Signed-off-by: Derk-Jan Hartman <hartman at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=906c413d3c32b16d0156650bd02bd70058d31ada
---
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 51927d7..a7ca58f 100644
--- a/modules/gui/macosx/misc.m
+++ b/modules/gui/macosx/misc.m
@@ -132,13 +132,6 @@ static NSMutableArray *blackoutWindows = nil;
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