| Summary: | Memmory leak in SDL_gamecontroller.c | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Leonardo <leonardo.guilherme> |
| Component: | joystick | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | gabomdq |
| Version: | HG 2.1 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: | Free controllerMap mapping. | ||
Fixed, thanks! https://hg.libsdl.org/SDL/rev/e55dadcb9155 |
Created attachment 1576 [details] Free controllerMap mapping. Hello. SDL_GameControllerQuit() forgets to release memmory for pControllerMap->mapping. Proposed patch, albeit trivial, fixes this problem.