mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +00:00
[host] windows: close handle to token in enablePriv
This should eliminate all handle leaks resulting from killing the host.
This commit is contained in:
parent
e401513552
commit
8f27789d25
@ -176,6 +176,7 @@ bool enablePriv(const char * name)
|
|||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CloseHandle(hToken);
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
Loading…
Reference in New Issue
Block a user