| Summary: | [Patch]Use SDL_calloc instead of calloc in Wayland_CreateWindow | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Mathieu Eyraud <meyraud705> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.0.13 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Attachments: | replace calloc by SDL_calloc | ||
Fixed, thanks! https://hg.libsdl.org/SDL/rev/fdabcc76aaaf |
Created attachment 4330 [details] replace calloc by SDL_calloc 'SDL_Windows::driverdata' of a Wayland window is allocated by calloc in 'Wayland_CreateWindow' but freed by SDL_free in 'Wayland_DestroyWindow'.