crypt32: Make it clear that LocalAlloc should return a pointer.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4422a96a23
commit
855dab34bd
|
@ -215,7 +215,7 @@ static BOOL CRYPT_DecodeEnsureSpace(DWORD dwFlags,
|
|||
if (pDecodePara && pDecodePara->pfnAlloc)
|
||||
*(BYTE **)pvStructInfo = pDecodePara->pfnAlloc(bytesNeeded);
|
||||
else
|
||||
*(BYTE **)pvStructInfo = LocalAlloc(0, bytesNeeded);
|
||||
*(BYTE **)pvStructInfo = LocalAlloc(LPTR, bytesNeeded);
|
||||
if (!*(BYTE **)pvStructInfo)
|
||||
ret = FALSE;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue