Fixed various memory leaks

This commit is contained in:
James Booth
2014-11-01 01:48:36 +00:00
parent 51164398e3
commit c4412fe823
13 changed files with 47 additions and 16 deletions

View File

@@ -158,6 +158,8 @@ _iq_disco_info_request(gchar *jid)
xmpp_id_handler_add(conn, _disco_info_response_handler, id, NULL);
free(id);
xmpp_send(conn, iq);
xmpp_stanza_release(iq);
}
@@ -172,6 +174,8 @@ _iq_room_info_request(gchar *room)
xmpp_id_handler_add(conn, _disco_info_response_handler, id, room);
free(id);
xmpp_send(conn, iq);
xmpp_stanza_release(iq);
}