Skip to content

Commit

Permalink
Fixed pool memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 11, 2013
1 parent b30e396 commit 893afba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/video/cocoa/SDL_cocoawindow.m
Expand Up @@ -754,6 +754,7 @@ - (void)resetCursorRects
}
@catch (NSException *e) {
SDL_SetError("%s", [[e reason] UTF8String]);
[pool release];
return -1;
}
[nswindow setBackgroundColor:[NSColor blackColor]];
Expand Down

0 comments on commit 893afba

Please sign in to comment.