From c4ab9405f64b4faecde951cb4b575062b30e4f79 Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 3 Nov 2014 20:57:22 +0000 Subject: Fixed leaks in /affiliation and /role --- src/xmpp/iq.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/xmpp/iq.c') 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; } -- cgit 1.4.1-2-gfad0