mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fix memleak in stanza_create_caps_query_element
Got introduced with 5d3c8ce7c
.
This commit is contained in:
parent
96f9a84f01
commit
abaf96dcef
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user