add freeing code to the different modules

This commit is contained in:
2025-02-16 20:20:26 +01:00
parent ca47a517ae
commit 3daa7d417b
3 changed files with 4 additions and 5 deletions

View File

@@ -51,8 +51,6 @@ int32_t main(int32_t argc, char** argv) {
game_free(&gdat);
render_free(&rdat);
gdat = (gamedata){0};
rdat = (renderdata){0};
SDL_Quit();
return get_gamestatus();