testiconv: free all memory to fix --trackmem

This commit is contained in:
Anonymous Maarten 2024-05-13 16:06:37 +02:00 committed by Anonymous Maarten
parent 831c79d32f
commit 690875d555

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;
}