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 - Memory leak of SDL_Joystick axes_zero array
Summary: Memory leak of SDL_Joystick axes_zero array
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: 2.0.5
Hardware: All All
: P2 trivial
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-08 23:43 UTC by Benjamin Harris
Modified: 2016-12-09 09:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!