Commit cca69647 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

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).
parent f74dfe31
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment