mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 14:16:21 +00:00
Fix memleak in stanza_create_caps_query_element
Got introduced with 5d3c8ce7c.
This commit is contained in:
@@ -995,6 +995,9 @@ stanza_create_caps_query_element(xmpp_ctx_t* ctx)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
account_free(account);
|
||||||
|
|
||||||
xmpp_stanza_set_attribute(identity, "name", name_str->str);
|
xmpp_stanza_set_attribute(identity, "name", name_str->str);
|
||||||
g_string_free(name_str, TRUE);
|
g_string_free(name_str, TRUE);
|
||||||
xmpp_stanza_add_child(query, identity);
|
xmpp_stanza_add_child(query, identity);
|
||||||
|
|||||||
Reference in New Issue
Block a user