diff options
author | James Booth <boothj5@gmail.com> | 2015-02-23 23:44:34 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-02-23 23:44:34 +0000 |
commit | 70b923a7fcc11011e536ffb741f6158798f2fb8e (patch) | |
tree | c18e743efd8d05fa6fe8d033dcddf820476fa7a4 /src/xmpp | |
parent | b0176d050f9eb93101ac3e5775e43e881a0060fd (diff) | |
download | profani-tty-70b923a7fcc11011e536ffb741f6158798f2fb8e.tar.gz |
Lowercase barejid in Jid
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/roster.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xmpp/roster.c b/src/xmpp/roster.c index 1e943fb6..6de370aa 100644 --- a/src/xmpp/roster.c +++ b/src/xmpp/roster.c @@ -285,6 +285,8 @@ _roster_set_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, } } + g_free(barejid_lower); + return 1; } @@ -324,6 +326,7 @@ _roster_result_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, log_warning("Attempt to add contact twice: %s", barejid_lower); } + g_free(barejid_lower); item = xmpp_stanza_get_next(item); } |