projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b44092
)
Fixed a memory leak in address completion.
author
Andrej Kacian
<ticho@claws-mail.org>
Sun, 16 Jul 2017 17:38:12 +0000
(19:38 +0200)
committer
Andrej Kacian
<ticho@claws-mail.org>
Sun, 16 Jul 2017 17:38:12 +0000
(19:38 +0200)
src/addr_compl.c
patch
|
blob
|
history
diff --git
a/src/addr_compl.c
b/src/addr_compl.c
index f73683e73c9e2e8ac64152f24160ac9c347e2993..8b4296e8de0e52b9b1faa8bd7d971d10901d4fd2 100644
(file)
--- 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_ );