1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Free hashtable key list in connection_jid_for_feature()

This commit is contained in:
James Booth 2016-09-05 23:19:22 +01:00
parent 74148dd6a2
commit 77ef4de29e

View File

@ -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;
}