1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-16 01:08:31 -04: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) { if (!document->dom) {
render_html_document(cached, document, buffer);
return; return;
} }
struct string head; struct string head;