oleaut32: Allow NULL objects array when creating property frame.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1ac1c78f05
commit
8fa582ae68
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue