mshtml: Pass actual node_ccp to ccref_decr for nodes.
Avoids having to look it up again later during collection. Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
This commit is contained in:
parent
fd2f3a035c
commit
31e023fb1d
1 changed files with 1 additions and 1 deletions
|
@ -500,7 +500,7 @@ static ULONG WINAPI HTMLDOMNode_AddRef(IHTMLDOMNode *iface)
|
|||
static ULONG WINAPI HTMLDOMNode_Release(IHTMLDOMNode *iface)
|
||||
{
|
||||
HTMLDOMNode *This = impl_from_IHTMLDOMNode(iface);
|
||||
LONG ref = ccref_decr(&This->ccref, (nsISupports*)&This->IHTMLDOMNode_iface, /*&node_ccp*/ NULL);
|
||||
LONG ref = ccref_decr(&This->ccref, (nsISupports*)&This->IHTMLDOMNode_iface, &node_ccp);
|
||||
|
||||
TRACE("(%p) ref=%ld\n", This, ref);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue