mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[ecmascript] free_document
This commit is contained in:
parent
3c5a61b524
commit
010deec2dc
@ -295,6 +295,7 @@ check_for_rerender(struct ecmascript_interpreter *interpreter, const char* text)
|
||||
el_insert_before(document, el, &item->string);
|
||||
} else {
|
||||
add_fragment(cached, 0, item->string.source, item->string.length);
|
||||
free_document(document->dom);
|
||||
document->dom = document_parse(document, &item->string);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user