mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: fix compilation error
This commit is contained in:
@@ -13937,7 +13937,7 @@ BOOL EnableProcessProtection()
|
|||||||
// Retrieve the token information in a TOKEN_USER structure
|
// Retrieve the token information in a TOKEN_USER structure
|
||||||
GetTokenInformation(hToken, TokenUser, NULL, 0, &cbBufferSize);
|
GetTokenInformation(hToken, TokenUser, NULL, 0, &cbBufferSize);
|
||||||
|
|
||||||
pTokenUser = (PTOKEN_USER) HeapAlloc(GetProcessHeap(), 0, cbBufferSize;
|
pTokenUser = (PTOKEN_USER) HeapAlloc(GetProcessHeap(), 0, cbBufferSize);
|
||||||
if (pTokenUser == NULL) {
|
if (pTokenUser == NULL) {
|
||||||
goto Cleanup;
|
goto Cleanup;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user