This fixes a double-free of SDLTest_CommonState
@@ -97,8 +97,6 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[])
NULL,
};
SDLTest_CommonLogUsage(state, argv[0], options);
- SDL_Quit();
- SDLTest_CommonDestroyState(state);
return SDL_APP_FAILURE;
}
i += consumed;