[Commits] [SCM] claws branch, master, updated. 3.10.0-2-g51af19b

colin at claws-mail.org colin at claws-mail.org
Mon May 26 15:31:40 CEST 2014


The branch master of project "claws" (Claws Mail) has been updated
       via  51af19b25efb00d4752de6e14fde0c32a7c79aaf (commit)
      from  749c0585d081499613cdb289e9045ad3c2c0dcaa (commit)


- Log -----------------------------------------------------------------
commit 51af19b25efb00d4752de6e14fde0c32a7c79aaf
Author: Colin Leroy <colin at colino.net>
Date:   Mon May 26 15:31:43 2014 +0200

    Fix GCond use with newer Glib

diff --git a/src/prefs_account.c b/src/prefs_account.c
index cae698d..9163800 100644
--- a/src/prefs_account.c
+++ b/src/prefs_account.c
@@ -3390,6 +3390,7 @@ static gboolean sslcert_get_password(gpointer source, gpointer data)
 #if !GLIB_CHECK_VERSION(2,32,0)
 	pass_data.cond = g_cond_new();
 #else
+	pass_data.cond = g_new0(GCond, 1);
 	g_cond_init(pass_data.cond);
 #endif
 	pass_data.mutex = cm_mutex_new();
@@ -3404,6 +3405,7 @@ static gboolean sslcert_get_password(gpointer source, gpointer data)
 	g_cond_free(pass_data.cond);
 #else
 	g_cond_clear(pass_data.cond);
+	g_free(pass_data.cond);
 #endif
 	g_mutex_unlock(pass_data.mutex);
 	cm_mutex_free(pass_data.mutex);

-----------------------------------------------------------------------

Summary of changes:
 src/prefs_account.c |    2 ++
 1 file changed, 2 insertions(+)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list