| Summary: | SDL_GetError causing memory leaks | ||
|---|---|---|---|
| Product: | SDL | Reporter: | blitron9000 |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | NEW --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.0.10 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| See Also: | https://bugzilla.libsdl.org/show_bug.cgi?id=5041 | ||
When using SDL_GetError() my memory leak checker returned this New fresh storage (type char *) passed as implicitly temp (not released): SDL_GetError() A memory leak has been detected. Storage allocated locally is not released before the last reference to it is lost. (Use -mustfreefresh to inhibit warning) Im assuming this memory leak caused my programs to randomly segfault when using SDL_GetError() as the program had no issues running once it was was deleted. this happened with SDL_Log and printf. my operating system is: anarchy linux x86_64 Linux 5.2.5-arch1-1-ARCH using X11 and XFCE4 DE