Fixed pool memory leak
This commit is contained in:
parent
1ef510f8cc
commit
c0d049dd87
1 changed files with 1 additions and 0 deletions
|
@ -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]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue