about summary refs log tree commit diff stats
path: root/src/xmpp/capabilities.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-07-18 22:55:05 +0100
committerJames Booth <boothj5@gmail.com>2016-07-18 22:55:05 +0100
commit269b8ce83225d98f683ff12f06847ea224788f06 (patch)
treeb12ea3950237330415e25721aa5f247426e316fd /src/xmpp/capabilities.c
parent7d742f704fd495fc6b4cda85e0ee0f517bb77797 (diff)
parentfeb50ea41174af94d67332cd9baf95506e1483a7 (diff)
downloadprofani-tty-269b8ce83225d98f683ff12f06847ea224788f06.tar.gz
Merge branch 'master' into python3
Diffstat (limited to 'src/xmpp/capabilities.c')
-rw-r--r--src/xmpp/capabilities.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmpp/capabilities.c b/src/xmpp/capabilities.c
index b4a6467b..7ba0565d 100644
--- a/src/xmpp/capabilities.c
+++ b/src/xmpp/capabilities.c
@@ -87,8 +87,8 @@ caps_init(void)
     g_key_file_load_from_file(cache, cache_loc, G_KEY_FILE_KEEP_COMMENTS,
         NULL);
 
-    jid_to_ver = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free);
-    jid_to_caps = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, (GDestroyNotify)caps_destroy);
+    jid_to_ver = g_hash_table_new_full(g_str_hash, g_str_equal, free, free);
+    jid_to_caps = g_hash_table_new_full(g_str_hash, g_str_equal, free, (GDestroyNotify)caps_destroy);
 
     my_sha1 = NULL;
 }