about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-07-18 22:32:58 +0100
committerJames Booth <boothj5@gmail.com>2016-07-18 22:32:58 +0100
commitfeb50ea41174af94d67332cd9baf95506e1483a7 (patch)
treee38ab612a00393889278804ad527a36d28eac573 /src
parentd4b3a05678d149051f5c2bbd49405b193b40778b (diff)
downloadprofani-tty-feb50ea41174af94d67332cd9baf95506e1483a7.tar.gz
capabilities: use free instead of g_free
Diffstat (limited to 'src')
-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;
 }