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 5363 - [Patch] Memory leak of joystick->sensors in SDL_JoystickClose
Summary: [Patch] Memory leak of joystick->sensors in SDL_JoystickClose
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: 2.0.13
Hardware: All All
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-24 09:43 UTC by Mathieu Eyraud
Modified: 2020-11-24 14:41 UTC (History)
0 users

See Also:


Attachments
Free joystick->sensors on close (371 bytes, patch)
2020-11-24 09:43 UTC, Mathieu Eyraud
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Eyraud 2020-11-24 09:43:20 UTC
Created attachment 4536 [details]
Free joystick->sensors on close

Joystick->sensors is never freed.
Comment 1 Sam Lantinga 2020-11-24 14:41:00 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/011d50451c3f