mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 23:16:20 +00:00
Some more memory improvements
* Less leaks * Less allocations Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
@@ -936,7 +936,7 @@ _send_presence_stanza(xmpp_stanza_t* const stanza)
|
||||
if (plugin_text) {
|
||||
xmpp_send_raw_string(conn, "%s", plugin_text);
|
||||
} else {
|
||||
xmpp_send_raw_string(conn, "%s", text);
|
||||
xmpp_send_raw(conn, text, text_size);
|
||||
}
|
||||
xmpp_free(connection_get_ctx(), text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user