1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-14 23:32:27 +00:00

[xml] segfault when document->dom was NULL

This commit is contained in:
Witold Filipczyk 2022-11-10 15:29:12 +01:00
parent ba861138ca
commit c34a7d6658

View File

@ -342,7 +342,6 @@ render_xhtml_document(struct cache_entry *cached, struct document *document, str
}
if (!document->dom) {
render_html_document(cached, document, buffer);
return;
}
struct string head;