1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[libdom] unlock cached

This commit is contained in:
Witold Filipczyk 2023-10-20 18:04:48 +02:00
parent 9fc4d8022d
commit f12134c2cf

View File

@ -367,6 +367,7 @@ dump_xhtml(struct cache_entry *cached, struct document *document, int parse)
document->cache_id = cached2->cache_id; document->cache_id = cached2->cache_id;
document->cached = cached2; document->cached = cached2;
render_xhtml_document(cached2, document, &document->text); render_xhtml_document(cached2, document, &document->text);
object_unlock(cached);
return; return;
} }
render_html_document(cached, document, &document->text); render_html_document(cached, document, &document->text);