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

ole32: Check for pcbSize in AntiMonikerImpl_GetSizeMax being for NULL, not for non-NULL.

parent 582e2f1f
...@@ -202,7 +202,7 @@ AntiMonikerImpl_GetSizeMax(IMoniker* iface, ULARGE_INTEGER* pcbSize) ...@@ -202,7 +202,7 @@ AntiMonikerImpl_GetSizeMax(IMoniker* iface, ULARGE_INTEGER* pcbSize)
{ {
TRACE("(%p,%p)\n",iface,pcbSize); TRACE("(%p,%p)\n",iface,pcbSize);
if (pcbSize!=NULL) if (!pcbSize)
return E_POINTER; return E_POINTER;
/* for more details see AntiMonikerImpl_Save coments */ /* for more details see AntiMonikerImpl_Save coments */
......
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