mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-05 18:24:08 +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:
@@ -176,6 +176,7 @@ bool enablePriv(const char * name)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
CloseHandle(hToken);
|
||||
return true;
|
||||
|
||||
fail:
|
||||
|
Reference in New Issue
Block a user