Nikolay Sivov : oleaut32: Allow NULL objects array when creating property frame.
Alexandre Julliard
julliard at winehq.org
Thu Feb 22 15:07:47 CST 2018
Module: wine
Branch: master
Commit: 8fa582ae68c192e4cd566c988fc445376de0272d
URL: https://source.winehq.org/git/wine.git/?a=commit;h=8fa582ae68c192e4cd566c988fc445376de0272d
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Thu Feb 22 14:58:36 2018 +0300
oleaut32: Allow NULL objects array when creating property frame.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 1a89024..98d2e8f 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)) {
More information about the wine-cvs
mailing list