[client,sdl] fix a memory leak on startup

This commit is contained in:
Armin Novak
2026-02-17 14:20:19 +01:00
parent 1b744c15fe
commit 66d84e7f45

View File

@@ -974,7 +974,7 @@ bool SdlContext::detectDisplays()
const auto id = display[x];
addOrUpdateDisplay(id);
}
SDL_free(display);
return true;
}