浏览代码

testplatform: fix leak at exit time

A leak was present at exit time on the Emscripten platform
Anonymous Maarten 1 年之前
父节点
当前提交
d5060423a2
共有 1 个文件被更改,包括 1 次插入0 次删除
  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 += TestCPUInfo(verbose);
     status += TestAssertions(verbose);
+    SDL_Quit();
 
     SDLTest_CommonDestroyState(state);