mirror of
https://github.com/yawut/SDL.git
synced 2026-08-09 20:17:38 -05:00
Fixed memory leak freeing cursors
This commit is contained in:
parent
290017c996
commit
2d74fa0606
|
|
@ -81,6 +81,7 @@ Cocoa_FreeCursor(SDL_Cursor * cursor)
|
|||
NSCursor *nscursor = (NSCursor *)cursor->driverdata;
|
||||
|
||||
[nscursor release];
|
||||
SDL_free(cursor);
|
||||
|
||||
[pool release];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user