Skip to content

Commit

Permalink
Fixed freeing the Windows blank cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Mar 18, 2022
1 parent 0387bf8 commit 3167ba3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/video/windows/SDL_windowsmouse.c
Expand Up @@ -372,7 +372,8 @@ WIN_QuitMouse(_THIS)
}

if (SDL_blank_cursor) {
SDL_FreeCursor(SDL_blank_cursor);
WIN_FreeCursor(SDL_blank_cursor);
SDL_blank_cursor = NULL;
}
}

Expand Down

0 comments on commit 3167ba3

Please sign in to comment.