Commit 0f59f2fd authored by Sam Lantinga's avatar Sam Lantinga

Fixed memory leak freeing cursors

parent 8457ab1e
...@@ -81,6 +81,7 @@ Cocoa_FreeCursor(SDL_Cursor * cursor) ...@@ -81,6 +81,7 @@ Cocoa_FreeCursor(SDL_Cursor * cursor)
NSCursor *nscursor = (NSCursor *)cursor->driverdata; NSCursor *nscursor = (NSCursor *)cursor->driverdata;
[nscursor release]; [nscursor release];
SDL_free(cursor);
[pool release]; [pool release];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment