Jacek Caban : mshtml: Set doc to NULL in NSContainer_Release.

Alexandre Julliard julliard at winehq.org
Thu Jul 3 06:35:04 CDT 2008


Module: wine
Branch: master
Commit: f9e3f81de2403a91c4a6ab3b86ae4cb015c906f0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f9e3f81de2403a91c4a6ab3b86ae4cb015c906f0

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed Jul  2 18:43:22 2008 +0200

mshtml: Set doc to NULL in NSContainer_Release.

---

 dlls/mshtml/nsembed.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c
index 73aba16..78563d3 100644
--- a/dlls/mshtml/nsembed.c
+++ b/dlls/mshtml/nsembed.c
@@ -1748,6 +1748,8 @@ void NSContainer_Release(NSContainer *This)
 {
     TRACE("(%p)\n", This);
 
+    This->doc = NULL;
+
     ShowWindow(This->hwnd, SW_HIDE);
     SetParent(This->hwnd, NULL);
 




More information about the wine-cvs mailing list