From feb50ea41174af94d67332cd9baf95506e1483a7 Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 18 Jul 2016 22:32:58 +0100 Subject: capabilities: use free instead of g_free --- src/xmpp/capabilities.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xmpp/capabilities.c') 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; } -- cgit 1.4.1-2-gfad0