mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-12 01:53:04 +08:00
ff1d351390
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.