mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 02:58: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
|
||||
GetTokenInformation(hToken, TokenUser, NULL, 0, &cbBufferSize);
|
||||
|
||||
pTokenUser = (PTOKEN_USER) HeapAlloc(GetProcessHeap(), 0, cbBufferSize;
|
||||
pTokenUser = (PTOKEN_USER) HeapAlloc(GetProcessHeap(), 0, cbBufferSize);
|
||||
if (pTokenUser == NULL) {
|
||||
goto Cleanup;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user