Commit 906c413d authored by Derk-Jan Hartman's avatar 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 573844a9)
Signed-off-by: default avatarDerk-Jan Hartman <hartman@videolan.org>
parent f371b871
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment