We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3512

Summary: Memory leak of SDL_Joystick axes_zero array
Product: SDL Reporter: Benjamin Harris <benharris42>
Component: joystickAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: trivial    
Priority: P2    
Version: 2.0.5   
Hardware: All   
OS: All   

Description Benjamin Harris 2016-12-08 23:43:28 UTC
Found with valgrind and confirmed in the 2.0.5 source code.
One-line fix in SDL_JoystickClose?
Comment 1 Sam Lantinga 2016-12-09 09:30:29 UTC
Yup! :)
https://hg.libsdl.org/SDL/rev/69d6c1c7a2bf

Thanks!