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:
Robert Shearman 2006-04-07 11:17:43 +01:00 committed by Alexandre Julliard
parent f74dfe3182
commit cca69647a3
1 changed files with 1 additions and 1 deletions

View File

@ -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