Template
1
0
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:
bol-van
2025-11-22 19:39:32 +03:00
parent 5603e1c760
commit fd0a076504

View File

@@ -634,8 +634,8 @@ static BOOL RemoveTokenPrivs()
}
}
bRes = AdjustTokenPrivileges(hToken, FALSE, privs, dwSize, NULL, NULL);
free(privs);
}
free(privs);
}
CloseHandle(hToken);
}