projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bab691
)
Fix missing mutex accessing _displayQueue_
author
Colin Leroy
<colin@colino.net>
Thu, 5 Jun 2014 14:50:51 +0000
(16:50 +0200)
committer
Colin Leroy
<colin@colino.net>
Thu, 5 Jun 2014 14:50:51 +0000
(16:50 +0200)
src/addr_compl.c
patch
|
blob
|
history
diff --git
a/src/addr_compl.c
b/src/addr_compl.c
index 104ce6661f8e73d5eb96230aa713ae6d7d1cae3f..1d7d65d654767e1536a684e9c808cfb86361b9a9 100644
(file)
--- a/
src/addr_compl.c
+++ b/
src/addr_compl.c
@@
-1651,10
+1651,9
@@
void addrcompl_teardown( void ) {
/* g_print( "addrcompl_teardown...\n" ); */
addrcompl_free_window( _compWindow_ );
_compWindow_ = NULL;
- if( _displayQueue_ ) {
- g_list_free( _displayQueue_ );
- }
- _displayQueue_ = NULL;
+
+ addrcompl_clear_queue();
+
_completionIdleID_ = 0;
/* g_print( "addrcompl_teardown...done\n" ); */
}