Commit 68d2f9c6 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Release event target in XMLHttpRequest destructor.

parent bc02ba80
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment