mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 16:34:18 +09:00
[client,sdl] fix a memory leak on startup
This commit is contained in:
@@ -974,7 +974,7 @@ bool SdlContext::detectDisplays()
|
||||
const auto id = display[x];
|
||||
addOrUpdateDisplay(id);
|
||||
}
|
||||
|
||||
SDL_free(display);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user