mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-19 08:23:01 +08:00
fix leak fix
This commit is contained in:
parent
179b562472
commit
2e7bd26e4c
@ -549,8 +549,9 @@ extern "C"
|
||||
continue;
|
||||
if (!stricmp(info.pWinStationName, "console"))
|
||||
{
|
||||
auto id = info.SessionId;
|
||||
WTSFreeMemory(pInfos);
|
||||
return info.SessionId;
|
||||
return id;
|
||||
}
|
||||
if (!strnicmp(info.pWinStationName, rdp, nrdp))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user