Module: wine Branch: refs/heads/master Commit: ff5efc2779a6c82724a2ee254b6cd09fcae8c4d8 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=ff5efc2779a6c82724a2ee25... Author: Robert Shearman <rob(a)codeweavers.com> Date: Fri Apr 7 11:19:04 2006 +0100 ole32: Check for pcbSize in AntiMonikerImpl_GetSizeMax being for NULL, not for non-NULL. --- dlls/ole32/antimoniker.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/ole32/antimoniker.c b/dlls/ole32/antimoniker.c index 3c25a75..9b233e1 100644 --- a/dlls/ole32/antimoniker.c +++ b/dlls/ole32/antimoniker.c @@ -202,7 +202,7 @@ AntiMonikerImpl_GetSizeMax(IMoniker* ifa { TRACE("(%p,%p)\n",iface,pcbSize); - if (pcbSize!=NULL) + if (!pcbSize) return E_POINTER; /* for more details see AntiMonikerImpl_Save coments */