SDL_MouseQuit(): clear mouse->cur_cursor (Bug 4530)
diff --git a/src/events/SDL_mouse.c b/src/events/SDL_mouse.c
index 8a87e54..969b33d 100644
--- a/src/events/SDL_mouse.c
+++ b/src/events/SDL_mouse.c
@@ -607,6 +607,7 @@
         cursor = next;
     }
     mouse->cursors = NULL;
+    mouse->cur_cursor = NULL;
 
     if (mouse->def_cursor && mouse->FreeCursor) {
         mouse->FreeCursor(mouse->def_cursor);