Jacek Caban : mshtml: Release event target in XMLHttpRequest destructor.

Alexandre Julliard julliard at winehq.org
Tue Feb 14 16:24:51 CST 2017


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Feb 13 21:11:57 2017 +0100

mshtml: Release event target in XMLHttpRequest destructor.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mshtml/xmlhttprequest.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/mshtml/xmlhttprequest.c b/dlls/mshtml/xmlhttprequest.c
index efbb79f..51e2445 100644
--- a/dlls/mshtml/xmlhttprequest.c
+++ b/dlls/mshtml/xmlhttprequest.c
@@ -252,6 +252,7 @@ static ULONG WINAPI HTMLXMLHttpRequest_Release(IHTMLXMLHttpRequest *iface)
     if(!ref) {
         if(This->event_listener)
             detach_xhr_event_listener(This->event_listener);
+        release_event_target(&This->event_target);
         release_dispex(&This->event_target.dispex);
         nsIXMLHttpRequest_Release(This->nsxhr);
         heap_free(This);




More information about the wine-cvs mailing list