The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Memory Leak in SDL_SetError when using std::thread
ace491


Joined: 07 Jun 2014
Posts: 24
I created a bug report because I'm getting a memory leak when SDL_SetError is called from a thread created by std::thread instead of SDL_Thread.
There is more related information in the report.
https://bugzilla.libsdl.org/show_bug.cgi?id=3317