about summary refs log tree commit diff stats
path: root/src/xmpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/connection.c1
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;
         }