mshtml: Fixed node leak in HTMLEventObj.

This commit is contained in:
Jacek Caban 2011-03-29 13:37:42 +02:00 committed by Alexandre Julliard
parent 1d61146cb6
commit 86aecc8488

View File

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