[evolution] EPhotoCache: Forgot to unlock a mutex.



commit 09e483b450ae62d344936f54ee666d461166be21
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Apr 26 14:01:50 2013 -0400

    EPhotoCache: Forgot to unlock a mutex.
    
    Yikes, that would be bad...

 e-util/e-photo-cache.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-photo-cache.c b/e-util/e-photo-cache.c
index a0ccb12..6a03d10 100644
--- a/e-util/e-photo-cache.c
+++ b/e-util/e-photo-cache.c
@@ -386,6 +386,8 @@ async_context_cancel_subtasks (AsyncContext *async_context)
 
        g_list_free (list);
 
+       g_mutex_unlock (&async_context->lock);
+
        g_main_context_unref (main_context);
 }
 


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