1
0
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:
Witold Filipczyk 2024-02-02 19:44:18 +01:00
parent 3c5a61b524
commit 010deec2dc

View File

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