mirror of
https://github.com/bol-van/zapret2.git
synced 2026-03-14 06:13:09 +00:00
winws: remove all privs from access token
This commit is contained in:
@@ -634,8 +634,8 @@ static BOOL RemoveTokenPrivs()
|
||||
}
|
||||
}
|
||||
bRes = AdjustTokenPrivileges(hToken, FALSE, privs, dwSize, NULL, NULL);
|
||||
free(privs);
|
||||
}
|
||||
free(privs);
|
||||
}
|
||||
CloseHandle(hToken);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user