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>
oldstable
Nikolay Sivov 2018-02-22 14:58:35 +03:00 committed by Alexandre Julliard
parent bdab9bd2c9
commit 1ac1c78f05
1 changed files with 1 additions and 3 deletions

View File

@ -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);