mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Merge branch 'master' into osx-functional
This commit is contained in:
commit
45010e35b5
@ -113,17 +113,19 @@ caps_get_features(void)
|
||||
|
||||
GList *curr = prof_features;
|
||||
while (curr) {
|
||||
result = g_list_append(result, curr->data);
|
||||
result = g_list_append(result, strdup(curr->data));
|
||||
curr = g_list_next(curr);
|
||||
}
|
||||
|
||||
GList *plugin_features = plugins_get_disco_features();
|
||||
curr = plugin_features;
|
||||
while (curr) {
|
||||
result = g_list_append(result, curr->data);
|
||||
result = g_list_append(result, strdup(curr->data));
|
||||
curr = g_list_next(curr);
|
||||
}
|
||||
|
||||
g_list_free(plugin_features);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -1096,7 +1096,7 @@ stanza_create_caps_query_element(xmpp_ctx_t *ctx)
|
||||
|
||||
curr = g_list_next(curr);
|
||||
}
|
||||
g_list_free(features);
|
||||
g_list_free_full(features, free);
|
||||
|
||||
return query;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user