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:
parent
bc02ba80b9
commit
68d2f9c6a6
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue