about summary refs log tree commit diff stats
path: root/src/contact_list.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/contact_list.c
parentce8faa8d34b22a671324d437e7e4737bc9d8a10b (diff)
downloadprofani-tty-89967905dbc592811493d4c7ba1fda31a8c2b038.tar.gz
Autocomplete: added free function
Fixed tests
Diffstat (limited to 'src/contact_list.c')
-rw-r--r--src/contact_list.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/contact_list.c b/src/contact_list.c
index f277e2f0..b23c9627 100644
--- a/src/contact_list.c
+++ b/src/contact_list.c
@@ -49,6 +49,12 @@ contact_list_clear(void)
 }
 
 void
+contact_list_free()
+{
+    p_autocomplete_free(ac);
+}
+
+void
 contact_list_reset_search_attempts(void)
 {
     p_autocomplete_reset(ac);