mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-06 23:44:43 -04:00
[xml] segfault when document->dom was NULL
This commit is contained in:
parent
ba861138ca
commit
c34a7d6658
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user