Commit b0c6eb12 authored by Jean-Paul Saman's avatar Jean-Paul Saman Committed by Derk-Jan Hartman

macosx: removeallObjects from NSMutableArray before releasing it.

(cherry picked from commit b6a37e5e59aa4ad334d7de4b0440d88085b4fcde)
Signed-off-by: default avatarDerk-Jan Hartman <hartman@videolan.org>
parent c93874ac
...@@ -134,6 +134,7 @@ static NSMutableArray *blackoutWindows = NULL; ...@@ -134,6 +134,7 @@ static NSMutableArray *blackoutWindows = NULL;
- (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