Browse Source

testiconv: free all memory to fix --trackmem

Anonymous Maarten 11 months ago
parent
commit
690875d555
1 changed files with 1 additions and 0 deletions
  1. 1 0
      test/testiconv.c

+ 1 - 0
test/testiconv.c

@@ -121,6 +121,7 @@ int main(int argc, char *argv[])
     (void)fclose(file);
 
     SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, "Total errors: %d\n", errors);
+    SDL_Quit();
     SDLTest_CommonDestroyState(state);
     return errors ? errors + 1 : 0;
 }