Fixed memory leak freeing cursors
authorSam Lantinga <slouken@libsdl.org>
Mon, 28 Feb 2011 22:21:32 -0800
changeset 5419 210b0abe9e44
parent 5418 f8ecf0869cc9
child 5420 180640c1ae53
Fixed memory leak freeing cursors
src/video/cocoa/SDL_cocoamouse.m
--- a/src/video/cocoa/SDL_cocoamouse.m	Mon Feb 28 21:58:37 2011 -0800
+++ b/src/video/cocoa/SDL_cocoamouse.m	Mon Feb 28 22:21:32 2011 -0800
@@ -81,6 +81,7 @@
     NSCursor *nscursor = (NSCursor *)cursor->driverdata;
 
     [nscursor release];
+    SDL_free(cursor);
 
     [pool release];
 }