mshtml: Set elem_vars to NULL when detaching.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9ceb9720e8
commit
18e0225afb
|
@ -4905,7 +4905,8 @@ void detach_document_node(HTMLDocumentNode *doc)
|
|||
for(i=0; i < doc->elem_vars_cnt; i++)
|
||||
heap_free(doc->elem_vars[i]);
|
||||
heap_free(doc->elem_vars);
|
||||
doc->elem_vars_cnt = 0;
|
||||
doc->elem_vars_cnt = doc->elem_vars_size = 0;
|
||||
doc->elem_vars = NULL;
|
||||
|
||||
if(doc->catmgr) {
|
||||
ICatInformation_Release(doc->catmgr);
|
||||
|
|
Loading…
Reference in New Issue