diff options
author | James Booth <boothj5@gmail.com> | 2014-11-03 20:57:22 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-11-03 20:57:22 +0000 |
commit | c4ab9405f64b4faecde951cb4b575062b30e4f79 (patch) | |
tree | b10d4432bd46e49b237c71405a0049115ba13071 /src/xmpp | |
parent | c4412fe82385945a5a056640135e9b53901d563f (diff) | |
download | profani-tty-c4ab9405f64b4faecde951cb4b575062b30e4f79.tar.gz |
Fixed leaks in /affiliation and /role
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/iq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c index 89f0c8ed..4717f6e7 100644 --- a/src/xmpp/iq.c +++ b/src/xmpp/iq.c @@ -974,6 +974,7 @@ _room_affiliation_list_result_handler(xmpp_conn_t * const conn, xmpp_stanza_t * handle_room_affiliation_list(from, affiliation, jids); free(affiliation); + g_slist_free(jids); return 0; } @@ -1019,6 +1020,7 @@ _room_role_list_result_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const s handle_room_role_list(from, role, nicks); free(role); + g_slist_free(nicks); return 0; } |