Fixed memory leak freeing cursors
authorSam Lantinga
Mon, 28 Feb 2011 22:21:32 -0800
changeset 5419210b0abe9e44
parent 5418 f8ecf0869cc9
child 5420 180640c1ae53
Fixed memory leak freeing cursors
src/video/cocoa/SDL_cocoamouse.m
     1.1 --- a/src/video/cocoa/SDL_cocoamouse.m	Mon Feb 28 21:58:37 2011 -0800
     1.2 +++ b/src/video/cocoa/SDL_cocoamouse.m	Mon Feb 28 22:21:32 2011 -0800
     1.3 @@ -81,6 +81,7 @@
     1.4      NSCursor *nscursor = (NSCursor *)cursor->driverdata;
     1.5  
     1.6      [nscursor release];
     1.7 +    SDL_free(cursor);
     1.8  
     1.9      [pool release];
    1.10  }