[gimp/gimp-2-8] app: clear cond and mutex after usage
- From: Kristian Rietveld <kristian src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] app: clear cond and mutex after usage
- Date: Tue, 19 Apr 2016 15:53:37 +0000 (UTC)
commit 5a74bb74123e2d82d0a71b4271ebd0e1ef01b644
Author: Ell <ell_se yahoo com>
Date: Tue Apr 19 17:43:19 2016 +0200
app: clear cond and mutex after usage
(cherry picked from commit 76adffa943af68cdb23202e36cac910fe19d6be9)
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 8d59518..451557c 100644
--- a/app/text/gimp-fonts.c
+++ b/app/text/gimp-fonts.c
@@ -157,6 +157,9 @@ gimp_fonts_load_with_status (Gimp *gimp,
g_mutex_unlock (&data.mutex);
g_thread_join (cache_thread);
+
+ g_mutex_clear (&data.mutex);
+ g_cond_clear (&data.cond);
}
else
gimp_fonts_load_func (config);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]