From 1d04b6044631fc43ba94d9ac70728da671669eed Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Wed, 13 Mar 2019 17:53:59 +0100 Subject: [PATCH] mshtml: Don't Use HTMLDocument type in HTMLDOMNode_unlink. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- dlls/mshtml/htmlnode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/mshtml/htmlnode.c b/dlls/mshtml/htmlnode.c index aec12fcb719..ee504f90ccf 100644 --- a/dlls/mshtml/htmlnode.c +++ b/dlls/mshtml/htmlnode.c @@ -1573,9 +1573,9 @@ static nsresult NSAPI HTMLDOMNode_unlink(void *p) } if(This->doc && &This->doc->node != This) { - HTMLDocument *doc = &This->doc->basedoc; + HTMLDocumentNode *doc = This->doc; This->doc = NULL; - htmldoc_release(doc); + htmldoc_release(&doc->basedoc); }else { This->doc = NULL; }