src/video/cocoa/SDL_cocoawindow.m
changeset 7948 64e133a8b15e
parent 7946 57c34a54b7c2
child 7952 5ac1a895b313
--- a/src/video/cocoa/SDL_cocoawindow.m	Sun Nov 10 17:56:07 2013 -0800
+++ b/src/video/cocoa/SDL_cocoawindow.m	Sun Nov 10 19:19:44 2013 -0800
@@ -754,6 +754,7 @@
     }
     @catch (NSException *e) {
         SDL_SetError("%s", [[e reason] UTF8String]);
+        [pool release];
         return -1;
     }
     [nswindow setBackgroundColor:[NSColor blackColor]];