Fixed pool memory leak

This commit is contained in:
Sam Lantinga committed 2013-11-10 19:19:44 -08:00
1 parent b30e396ba1
commit 893afbaf3b
1 file changed
+1
+1
View File
@@ -754,6 +754,7 @@ Cocoa_CreateWindow(_THIS, SDL_Window * window)
}
@catch (NSException *e) {
SDL_SetError("%s", [[e reason] UTF8String]);
[pool release];
return -1;
}
[nswindow setBackgroundColor:[NSColor blackColor]];