diff options
author | Dmitry Podgorny <pasis.ua@gmail.com> | 2013-08-26 12:31:41 +0300 |
---|---|---|
committer | Dmitry Podgorny <pasis.ua@gmail.com> | 2013-08-26 12:31:41 +0300 |
commit | 7a9fcd53d29b26370ff3d4103e25a420f3399682 (patch) | |
tree | dbc7d0c561722bc0add44cd1f780adb987fbea6e | |
parent | e21bf8a18d682ae95699b6ddedf17aa870303a3c (diff) | |
download | profani-tty-7a9fcd53d29b26370ff3d4103e25a420f3399682.tar.gz |
fixed crash because of incorrect string releasing
-rw-r--r-- | src/xmpp/iq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c index 5de84056..8eb4d99e 100644 --- a/src/xmpp/iq.c +++ b/src/xmpp/iq.c @@ -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); |