From: Nikolay Sivov Subject: [PATCH 2/3] oleaut32: Allow NULL objects array when creating property frame Message-Id: <20180222115837.8654-2-nsivov@codeweavers.com> Date: Thu, 22 Feb 2018 14:58:36 +0300 In-Reply-To: <20180222115837.8654-1-nsivov@codeweavers.com> References: <20180222115837.8654-1-nsivov@codeweavers.com> Signed-off-by: Nikolay Sivov --- dlls/oleaut32/olepropframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/oleaut32/olepropframe.c b/dlls/oleaut32/olepropframe.c index 1a89024885..98d2e8fffc 100644 --- a/dlls/oleaut32/olepropframe.c +++ b/dlls/oleaut32/olepropframe.c @@ -186,7 +186,7 @@ HRESULT WINAPI OleCreatePropertyFrameIndirect(LPOCPFIPARAMS lpParams) lpParams->lplpUnk, lpParams->cPages, lpParams->lpPages, lpParams->lcid, lpParams->dispidInitialProperty); - if(!lpParams->lplpUnk || !lpParams->lpPages) + if(!lpParams->lpPages) return E_POINTER; if(lpParams->cbStructSize != sizeof(OCPFIPARAMS)) { -- 2.16.1