mshtml: Don't Use HTMLDocument type in HTMLDOMNode_unlink.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2019-03-13 17:53:59 +01:00 committed by Alexandre Julliard
parent b9591e21cf
commit 1d04b60446
1 changed files with 2 additions and 2 deletions

View File

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