Commit 573844a9 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.
parent c226bf88
......@@ -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;
......
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