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:
parent
74148dd6a2
commit
77ef4de29e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user