commit 85640349d5e18310ff33ffda513e65a06f5ad6d6
parent 4b44092934607b489f34000e3906f503ab41d65d
Author: Andrej Kacian <ticho@claws-mail.org>
Date: Sun, 16 Jul 2017 19:38:12 +0200
Fixed a memory leak in address completion.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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_ );