Nikolay Sivov : oleaut32: Don't reset property page site to NULL.
Alexandre Julliard
julliard at winehq.org
Mon May 14 06:54:22 CDT 2018
Module: wine
Branch: stable
Commit: c36ccb4bb5aec8858f86e1f70ec558f011434fd1
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c36ccb4bb5aec8858f86e1f70ec558f011434fd1
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>
(cherry picked from commit 1ac1c78f0552f983b512cfebbf3f3207a3dbf709)
Signed-off-by: Michael Stefaniuc <mstefani 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