diff --git a/src/document/libdom/renderer2.c b/src/document/libdom/renderer2.c index 3c27512a6..3e3937455 100644 --- a/src/document/libdom/renderer2.c +++ b/src/document/libdom/renderer2.c @@ -367,6 +367,7 @@ dump_xhtml(struct cache_entry *cached, struct document *document, int parse) document->cache_id = cached2->cache_id; document->cached = cached2; render_xhtml_document(cached2, document, &document->text); + object_unlock(cached); return; } render_html_document(cached, document, &document->text);