summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2012-08-29 18:13:30 +0200
committerShaun McCance <shaunm@gnome.org>2012-11-21 10:22:50 -0500
commit59091e405ce1fc1e9c54b8658be9cb2968a50e3d (patch)
tree390083b6d888ea717a7dd9b0c926f51f2d218aec
parent10af9590b220cd3a32d744a26b0542b94017bd61 (diff)
downloadyelp-59091e405ce1fc1e9c54b8658be9cb2968a50e3d.tar.gz
yelp-document: Mutex is unlocked twice when generating search results
https://bugzilla.gnome.org/show_bug.cgi?id=683100
-rw-r--r--libyelp/yelp-document.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libyelp/yelp-document.c b/libyelp/yelp-document.c
index cf17c7da..1a4ff0a7 100644
--- a/libyelp/yelp-document.c
+++ b/libyelp/yelp-document.c
@@ -1032,7 +1032,6 @@ document_read_contents (YelpDocument *document,
g_free (index_title);
g_free (txt);
g_string_append (ret, "</div></body></html>");
- g_mutex_unlock (document->priv->mutex);
hash_replace (document->priv->contents, page_id, g_string_free (ret, FALSE));
str = hash_lookup (document->priv->contents, page_id);