oleaut32: Don't reset property page site to NULL.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bdab9bd2c9
commit
1ac1c78f05
|
@ -308,10 +308,8 @@ HRESULT WINAPI OleCreatePropertyFrameIndirect(LPOCPFIPARAMS lpParams)
|
|||
PropertySheetW(&property_sheet);
|
||||
|
||||
for(i=0; i<lpParams->cPages; i++) {
|
||||
if(property_page[i]) {
|
||||
IPropertyPage_SetPageSite(property_page[i], NULL);
|
||||
if(property_page[i])
|
||||
IPropertyPage_Release(property_page[i]);
|
||||
}
|
||||
}
|
||||
|
||||
HeapFree(GetProcessHeap(), 0, dialogs);
|
||||
|
|
Loading…
Reference in New Issue