[gimp] app: clear cond and mutex after usage



commit 76adffa943af68cdb23202e36cac910fe19d6be9
Author: Ell <ell_se yahoo com>
Date:   Tue Apr 19 17:43:19 2016 +0200

    app: clear cond and mutex after usage

 app/text/gimp-fonts.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/text/gimp-fonts.c b/app/text/gimp-fonts.c
index 5cb9407..1ceb82d 100644
--- a/app/text/gimp-fonts.c
+++ b/app/text/gimp-fonts.c
@@ -157,6 +157,9 @@ gimp_fonts_load (Gimp               *gimp,
 
       g_mutex_unlock (&data.mutex);
       g_thread_join (cache_thread);
+
+      g_mutex_clear (&data.mutex);
+      g_cond_clear (&data.cond);
     }
   else
     {


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