Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed memory leak freeing cursors
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Mar 1, 2011
1 parent 09f817a commit 329c06a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/video/cocoa/SDL_cocoamouse.m
Expand Up @@ -81,6 +81,7 @@
NSCursor *nscursor = (NSCursor *)cursor->driverdata;

[nscursor release];
SDL_free(cursor);

[pool release];
}
Expand Down

0 comments on commit 329c06a

Please sign in to comment.