Browse Source

testplatform: fix leak at exit time

A leak was present at exit time on the Emscripten platform
Anonymous Maarten 1 year ago
parent
commit
d5060423a2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      test/testplatform.c

+ 1 - 0
test/testplatform.c

@@ -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);