oleaut32: Fix typo in LPSAFEARRAY_Unmarshal.
Fix typo in LPSAFEARRAY_Unmarshal where the check for the failure of the SafeArrayCreateEx call was missing a dereference operator (found by Coverity).
This commit is contained in:
parent
f74dfe3182
commit
cca69647a3
|
@ -852,7 +852,7 @@ unsigned char * WINAPI LPSAFEARRAY_UserUnmarshal(unsigned long *pFlags, unsigned
|
|||
Buffer += sizeof(wiresab[0]) * wiresa->cDims;
|
||||
|
||||
*ppsa = SafeArrayCreateEx(vt, wiresa->cDims, wiresab, NULL);
|
||||
if (!ppsa)
|
||||
if (!*ppsa)
|
||||
RpcRaiseException(E_OUTOFMEMORY);
|
||||
|
||||
/* be careful about which flags we set since they could be a security
|
||||
|
|
Loading…
Reference in New Issue