Copy feature strings on caps_get_features

This commit is contained in:
James Booth
2016-08-17 23:32:43 +01:00
parent 9945246a64
commit 7b22c813c8
2 changed files with 5 additions and 3 deletions

View File

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