commit | f862a7305c665d97fc5bffc4d07c1b903bca6dbb | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Fri Feb 14 16:15:46 2020 -0800 |
committer | Sam Lantinga <slouken@libsdl.org> | Fri Feb 14 16:15:46 2020 -0800 |
tree | 316280c347091eb2690f9bcd42dd2bd0ed247eda | |
parent | 342c1f5aa36cb8262f946285fc87a532f8435ec9 [diff] |
Fixed bug 4986 - Memory leak in HIDAPI_JoystickConnected meyraud705 Memory allocated for device->joysticks on line 589 of SDL_hidapijoystick.c is never freed. Also, use memmove because memory is overlapping.