[Commits] [SCM] claws branch, master, updated. 3.15.0-117-g8564034

ticho at claws-mail.org ticho at claws-mail.org
Sun Jul 16 19:38:25 CEST 2017


The branch, master has been updated
       via  85640349d5e18310ff33ffda513e65a06f5ad6d6 (commit)
      from  4b44092934607b489f34000e3906f503ab41d65d (commit)

Summary of changes:
 src/addr_compl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 85640349d5e18310ff33ffda513e65a06f5ad6d6
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Sun Jul 16 19:38:12 2017 +0200

    Fixed a memory leak in address completion.

diff --git a/src/addr_compl.c b/src/addr_compl.c
index f73683e..8b4296e 100644
--- a/src/addr_compl.c
+++ b/src/addr_compl.c
@@ -1129,7 +1129,7 @@ static void addrcompl_clear_queue( void ) {
 	/* Clear out display queue */
 	pthread_mutex_lock( & _completionMutex_ );
 
-	g_list_free( _displayQueue_ );
+	g_list_free_full( _displayQueue_, g_free );
 	_displayQueue_ = NULL;
 
 	pthread_mutex_unlock( & _completionMutex_ );

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list