Nikolay Sivov : oleaut32: Don't reset property page site to NULL.
Alexandre Julliard
julliard at winehq.org
Thu Feb 22 15:07:47 CST 2018
Module: wine
Branch: master
Commit: 1ac1c78f0552f983b512cfebbf3f3207a3dbf709
URL: https://source.winehq.org/git/wine.git/?a=commit;h=1ac1c78f0552f983b512cfebbf3f3207a3dbf709
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Thu Feb 22 14:58:35 2018 +0300
oleaut32: Don't reset property page site to NULL.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/oleaut32/olepropframe.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/oleaut32/olepropframe.c b/dlls/oleaut32/olepropframe.c
index 73af745..1a89024 100644
--- a/dlls/oleaut32/olepropframe.c
+++ b/dlls/oleaut32/olepropframe.c
@@ -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);
More information about the wine-cvs
mailing list