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:
parent
e21bf8a18d
commit
7a9fcd53d2
@ -247,7 +247,7 @@ _iq_handle_version_get(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza,
|
||||
|
||||
xmpp_send(conn, response);
|
||||
|
||||
g_free(version_str);
|
||||
g_string_free(version_str, TRUE);
|
||||
xmpp_stanza_release(name_txt);
|
||||
xmpp_stanza_release(version_txt);
|
||||
xmpp_stanza_release(name);
|
||||
|
Loading…
Reference in New Issue
Block a user