fix: memory leak on exit

This commit is contained in:
2025-06-26 10:54:58 +02:00
parent d7989c5918
commit a94e2d147b

View File

@@ -34,7 +34,7 @@ static void window_init(struct gamedata const* gdat) {
static void window_free(void) {
assert(win);
// render_free();
render_free();
SDL_DestroyWindow(win);
win = NULL;
close = false;