mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-23 17:10:44 +00:00
Make sure we call SDL_Quit() before SDLTest_CommonDestroyState()
Otherwise we'll report leaks that will be cleaned up in SDL_Quit()
This commit is contained in:
@@ -2243,6 +2243,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
result = run_test() ? 0 : 1;
|
||||
|
||||
SDL_Quit();
|
||||
SDLTest_CommonDestroyState(state);
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user