mshtml: Release listeners in call_event_handlers.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
81c38c8785
commit
d2552c06a0
|
@ -1439,6 +1439,8 @@ static void call_event_handlers(EventTarget *event_target, DOMEvent *event)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for(listener = listeners; listener < listeners + listeners_cnt; listener++)
|
||||||
|
IDispatch_Release(listener->function);
|
||||||
if(listeners != listeners_buf)
|
if(listeners != listeners_buf)
|
||||||
heap_free(listeners);
|
heap_free(listeners);
|
||||||
if(event->phase == DEP_CAPTURING_PHASE)
|
if(event->phase == DEP_CAPTURING_PHASE)
|
||||||
|
|
Loading…
Reference in New Issue