mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-27 08:39:09 +00:00
This was just causing confusion and anxiety. SDL temporary memory will be automatically freed on the main thread when processing events and on other threads when it ages out after a second. The application can free it directly by calling SDL_ClaimTemporaryMemory() to get ownership of the pointer, if necessary.