mshtml: Release event target in XMLHttpRequest destructor.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2017-02-13 21:11:57 +01:00 committed by Alexandre Julliard
parent bc02ba80b9
commit 68d2f9c6a6
1 changed files with 1 additions and 0 deletions

View File

@ -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);