mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-21 10:43:36 +00:00
committed by
Sam Lantinga
parent
d7e25c92c0
commit
49879ba0d6
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user