Commit 1ac1c78f authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

oleaut32: Don't reset property page site to NULL.

parent bdab9bd2
...@@ -308,11 +308,9 @@ HRESULT WINAPI OleCreatePropertyFrameIndirect(LPOCPFIPARAMS lpParams) ...@@ -308,11 +308,9 @@ HRESULT WINAPI OleCreatePropertyFrameIndirect(LPOCPFIPARAMS lpParams)
PropertySheetW(&property_sheet); PropertySheetW(&property_sheet);
for(i=0; i<lpParams->cPages; i++) { for(i=0; i<lpParams->cPages; i++) {
if(property_page[i]) { if(property_page[i])
IPropertyPage_SetPageSite(property_page[i], NULL);
IPropertyPage_Release(property_page[i]); IPropertyPage_Release(property_page[i]);
} }
}
HeapFree(GetProcessHeap(), 0, dialogs); HeapFree(GetProcessHeap(), 0, dialogs);
HeapFree(GetProcessHeap(), 0, property_page); HeapFree(GetProcessHeap(), 0, property_page);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment