1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

fixed crash because of incorrect string releasing

This commit is contained in:
Dmitry Podgorny 2013-08-26 12:31:41 +03:00
parent e21bf8a18d
commit 7a9fcd53d2

View File

@ -247,7 +247,7 @@ _iq_handle_version_get(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza,
xmpp_send(conn, response); xmpp_send(conn, response);
g_free(version_str); g_string_free(version_str, TRUE);
xmpp_stanza_release(name_txt); xmpp_stanza_release(name_txt);
xmpp_stanza_release(version_txt); xmpp_stanza_release(version_txt);
xmpp_stanza_release(name); xmpp_stanza_release(name);