about summary refs log tree commit diff stats
path: root/src/profanity.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-01-11 00:17:18 +0000
committerJames Booth <boothj5@gmail.com>2013-01-11 00:17:18 +0000
commit89967905dbc592811493d4c7ba1fda31a8c2b038 (patch)
treeadbb329bb14d849b92f2b00c9c2ae7213a2700ef /src/profanity.c
parentce8faa8d34b22a671324d437e7e4737bc9d8a10b (diff)
downloadprofani-tty-89967905dbc592811493d4c7ba1fda31a8c2b038.tar.gz
Autocomplete: added free function
Fixed tests
Diffstat (limited to 'src/profanity.c')
-rw-r--r--src/profanity.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/profanity.c b/src/profanity.c
index d51310a0..b9d8d69b 100644
--- a/src/profanity.c
+++ b/src/profanity.c
@@ -545,11 +545,12 @@ static void
 _shutdown(void)
 {
     jabber_disconnect();
-    contact_list_clear();
+    contact_list_free();
     ui_close();
     chat_log_close();
     prefs_close();
     theme_close();
+    accounts_close();
     cmd_close();
     log_close();
 }