testiconv: free all memory to fix --trackmem

This commit is contained in:
Anonymous Maarten authored and Anonymous Maarten committed 2024-05-17 14:39:29 +02:00
1 parent 831c79d32f
commit 690875d555
1 file changed
+1
+1
View File
@@ -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;
}