From: Andrej Kacian Date: Sun, 16 Jul 2017 17:38:12 +0000 (+0200) Subject: Fixed a memory leak in address completion. X-Git-Tag: 3.16.0~87 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=85640349d5e18310ff33ffda513e65a06f5ad6d6;ds=sidebyside Fixed a memory leak in address completion. --- diff --git a/src/addr_compl.c b/src/addr_compl.c index f73683e73..8b4296e8d 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_ );