Fix unfreed memory
This commit is contained in:
parent
67765fd0ad
commit
ee1e7aed11
1 changed files with 3 additions and 0 deletions
|
@ -84,6 +84,9 @@ void ControllerBackend_Deinit(void)
|
||||||
|
|
||||||
joystick_connected = FALSE;
|
joystick_connected = FALSE;
|
||||||
connected_joystick_id = 0;
|
connected_joystick_id = 0;
|
||||||
|
|
||||||
|
free(axis_neutrals);
|
||||||
|
axis_neutrals = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL ControllerBackend_GetJoystickStatus(JOYSTICK_STATUS *status)
|
BOOL ControllerBackend_GetJoystickStatus(JOYSTICK_STATUS *status)
|
||||||
|
|
Loading…
Add table
Reference in a new issue