From 86aecc8488e818cb09c0817cbfa9c40845938fa5 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Tue, 29 Mar 2011 13:37:42 +0200 Subject: [PATCH] mshtml: Fixed node leak in HTMLEventObj. --- dlls/mshtml/htmlevent.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/mshtml/htmlevent.c b/dlls/mshtml/htmlevent.c index 8dbf5547b7..d0e8814e87 100644 --- a/dlls/mshtml/htmlevent.c +++ b/dlls/mshtml/htmlevent.c @@ -289,6 +289,8 @@ static ULONG WINAPI HTMLEventObj_Release(IHTMLEventObj *iface) TRACE("(%p) ref=%d\n", This, ref); if(!ref) { + if(This->target) + IHTMLDOMNode_Release(&This->target->IHTMLDOMNode_iface); if(This->nsevent) nsIDOMEvent_Release(This->nsevent); release_dispex(&This->dispex);