mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-21 13:36:15 +00:00
parent
d7e25c92c0
commit
49879ba0d6
1 changed files with 1 additions and 0 deletions
|
|
@ -2259,6 +2259,7 @@ void SDL_CloseJoystick(SDL_Joystick *joystick)
|
|||
}
|
||||
SDL_free(joystick->touchpads);
|
||||
SDL_free(joystick->sensors);
|
||||
SDL_free(joystick->capsenses);
|
||||
SDL_free(joystick);
|
||||
}
|
||||
SDL_UnlockJoysticks();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue