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) { static void window_free(void) {
assert(win); assert(win);
// render_free(); render_free();
SDL_DestroyWindow(win); SDL_DestroyWindow(win);
win = NULL; win = NULL;
close = false; close = false;