Commit b6a37e5e authored by Jean-Paul Saman's avatar Jean-Paul Saman

macosx: removeallObjects from NSMutableArray before releasing it.

parent 268fd7c7
...@@ -134,6 +134,7 @@ static NSMutableArray *blackoutWindows = nil; ...@@ -134,6 +134,7 @@ static NSMutableArray *blackoutWindows = nil;
- (void)dealloc - (void)dealloc
{ {
[blackoutWindows removeAllObjects];
[blackoutWindows release]; [blackoutWindows release];
[super dealloc]; [super dealloc];
} }
......
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