Windows: fix compilation error
This commit is contained in:
parent
f7bc58b38f
commit
ea88c6175c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue