Fix memleak in _mam_request()

This commit is contained in:
Michael Vetter 2020-12-21 16:52:21 +01:00
parent 11dc16f2f0
commit b7723db1fc

View File

@ -119,6 +119,7 @@ static void _mam_request(xmppc_t *xmppc, char* to, bool pretty) {
xmpp_id_handler_add(xmppc->conn, _mam_show, id, xmppc);
xmpp_send(xmppc->conn,iq);
free(id);
}
int _mam_show(xmpp_conn_t *const conn, xmpp_stanza_t *const stanza, void *const userdata){