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:
@@ -135,6 +135,7 @@ int main(int argc, char *argv[])
|
||||
test_sort("random sorted", nums, arraylen);
|
||||
}
|
||||
|
||||
SDL_Quit();
|
||||
SDLTest_CommonDestroyState(state);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user