changeset 7103 | 9d146930d4f2 |
parent 7037 | 3fedf1f25b94 |
child 7191 | 75360622e65f |
1.1 --- a/src/video/windows/SDL_windowsmouse.c Wed Apr 24 11:49:52 2013 -0300 1.2 +++ b/src/video/windows/SDL_windowsmouse.c Wed Apr 24 12:22:08 2013 -0300 1.3 @@ -240,6 +240,12 @@ 1.4 void 1.5 WIN_QuitMouse(_THIS) 1.6 { 1.7 + SDL_Mouse *mouse = SDL_GetMouse(); 1.8 + if ( mouse->def_cursor ) { 1.9 + SDL_free(mouse->def_cursor); 1.10 + mouse->def_cursor = NULL; 1.11 + mouse->cur_cursor = NULL; 1.12 + } 1.13 } 1.14 1.15 #endif /* SDL_VIDEO_DRIVER_WINDOWS */