[yelp] yelp-document: Mutex is unlocked twice when generating search results



commit 59091e405ce1fc1e9c54b8658be9cb2968a50e3d
Author: Carlos Garcia Campos <cgarcia igalia com>
Date:   Wed Aug 29 18:13:30 2012 +0200

    yelp-document: Mutex is unlocked twice when generating search results
    
    https://bugzilla.gnome.org/show_bug.cgi?id=683100

 libyelp/yelp-document.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/libyelp/yelp-document.c b/libyelp/yelp-document.c
index cf17c7d..1a4ff0a 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]