about summary refs log tree commit diff stats
path: root/src/contact.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-02-06 22:05:38 +0000
committerJames Booth <boothj5@gmail.com>2015-02-06 22:05:38 +0000
commitb7a8e7d942ef0c4f114c6d290c48c4286e846e4d (patch)
treed43dff1e89102487e88fbd473a3ecf1a350ab611 /src/contact.c
parentf08657fa9afee6ea74dfdb9660dd4d23f20ee43f (diff)
parentbec95afc8b4ba3d86b0a74d68285042c7c40948e (diff)
downloadprofani-tty-b7a8e7d942ef0c4f114c6d290c48c4286e846e4d.tar.gz
Merge branch 'master' into readline
Diffstat (limited to 'src/contact.c')
-rw-r--r--src/contact.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contact.c b/src/contact.c
index f16f1679..943be374 100644
--- a/src/contact.c
+++ b/src/contact.c
@@ -381,7 +381,7 @@ void
 p_contact_set_presence(const PContact contact, Resource *resource)
 {
     g_hash_table_replace(contact->available_resources, strdup(resource->name), resource);
-    autocomplete_add(contact->resource_ac, strdup(resource->name));
+    autocomplete_add(contact->resource_ac, resource->name);
 }
 
 void
3'>153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181