Jacek Caban : mshtml: Don't release nselem in HTMLElement_destructor.

Alexandre Julliard julliard at winehq.org
Wed Jun 27 19:14:00 CDT 2012


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed Jun 27 16:53:52 2012 +0200

mshtml: Don't release nselem in HTMLElement_destructor.

---

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

diff --git a/dlls/mshtml/htmlelem.c b/dlls/mshtml/htmlelem.c
index 1556cc7..62df8b8 100644
--- a/dlls/mshtml/htmlelem.c
+++ b/dlls/mshtml/htmlelem.c
@@ -1578,8 +1578,6 @@ void HTMLElement_destructor(HTMLDOMNode *iface)
 
     ConnectionPointContainer_Destroy(&This->cp_container);
 
-    if(This->nselem)
-        nsIDOMHTMLElement_Release(This->nselem);
     if(This->style) {
         This->style->elem = NULL;
         IHTMLStyle_Release(&This->style->IHTMLStyle_iface);




More information about the wine-cvs mailing list