diff options
author | James Booth <boothj5@gmail.com> | 2016-09-05 23:19:22 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-09-05 23:19:22 +0100 |
commit | 77ef4de29ec72cd26833fdb5e68d79d44cdaafe5 (patch) | |
tree | 12a924e56e386aab2c1a67377d3055087192113d | |
parent | 74148dd6a23f875f9e6aee9ac01bdad8ccf0f769 (diff) | |
download | profani-tty-77ef4de29ec72cd26833fdb5e68d79d44cdaafe5.tar.gz |
Free hashtable key list in connection_jid_for_feature()
-rw-r--r-- | src/xmpp/connection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c index 8a963bb4..70ca12b0 100644 --- a/src/xmpp/connection.c +++ b/src/xmpp/connection.c @@ -297,6 +297,7 @@ connection_jid_for_feature(const char *const feature) char *jid = curr->data; GHashTable *features = g_hash_table_lookup(conn.features_by_jid, jid); if (features && g_hash_table_lookup(features, feature)) { + g_list_free(jids); return jid; } |