mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-25 20:07:17 +00:00
testplatform: fix leak at exit time
A leak was present at exit time on the Emscripten platform
This commit is contained in:
@@ -483,6 +483,7 @@ int main(int argc, char *argv[])
|
|||||||
status += Test64Bit(verbose);
|
status += Test64Bit(verbose);
|
||||||
status += TestCPUInfo(verbose);
|
status += TestCPUInfo(verbose);
|
||||||
status += TestAssertions(verbose);
|
status += TestAssertions(verbose);
|
||||||
|
SDL_Quit();
|
||||||
|
|
||||||
SDLTest_CommonDestroyState(state);
|
SDLTest_CommonDestroyState(state);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user