Fixed memory leak freeing cursors
This commit is contained in:
parent
8457ab1e62
commit
0f59f2fdbb
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ Cocoa_FreeCursor(SDL_Cursor * cursor)
|
|||
NSCursor *nscursor = (NSCursor *)cursor->driverdata;
|
||||
|
||||
[nscursor release];
|
||||
SDL_free(cursor);
|
||||
|
||||
[pool release];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue