ole32: Check for pcbSize parameter of CompositeMonikerImpl_GetSizeMax being NULL, rather than non-NULL.
This commit is contained in:
parent
ff5efc2779
commit
3a2e18c99c
|
@ -333,7 +333,7 @@ CompositeMonikerImpl_GetSizeMax(IMoniker* iface,ULARGE_INTEGER* pcbSize)
|
|||
|
||||
TRACE("(%p,%p)\n",iface,pcbSize);
|
||||
|
||||
if (pcbSize!=NULL)
|
||||
if (!pcbSize)
|
||||
return E_POINTER;
|
||||
|
||||
pcbSize->u.LowPart =0;
|
||||
|
|
Loading…
Reference in New Issue