fix leak fix
This commit is contained in:
parent
179b562472
commit
2e7bd26e4c
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue