ref: ee1e7aed11f7c04f51a06d0942174f67734e8f9e
parent: 67765fd0ad5b2804c0906d0c44864fe9ec45a146
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sat Apr 4 20:58:56 EDT 2020
Fix unfreed memory
--- a/src/Backends/GLFW3/Controller.cpp
+++ b/src/Backends/GLFW3/Controller.cpp
@@ -84,6 +84,9 @@
joystick_connected = FALSE;
connected_joystick_id = 0;
+
+ free(axis_neutrals);
+ axis_neutrals = NULL;
}
BOOL ControllerBackend_GetJoystickStatus(JOYSTICK_STATUS *status)