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:
parent
b9591e21cf
commit
1d04b60446
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue