tests: start memory tracking first + clean up cached text textures

This commit is contained in:
Anonymous Maarten
2024-07-27 13:44:04 +02:00
parent 6f1136c6ce
commit 3bfc103e76
6 changed files with 17 additions and 12 deletions

View File

@@ -55,6 +55,7 @@ static void quit(int rc)
SDL_free(menus);
menus = NULL;
SDLTest_CleanupTextDrawing();
SDLTest_CommonQuit(state);
/* Let 'main()' return normally */
if (rc != 0) {