Fixed memory leak
This commit is contained in:
committed by
Dmitry Podgorny
parent
d693cc6d15
commit
783bad0897
@@ -556,6 +556,7 @@ static void _auth(xmpp_conn_t * const conn)
|
||||
}
|
||||
xmpp_stanza_set_text(authdata, str);
|
||||
xmpp_free(conn->ctx, str);
|
||||
xmpp_free(conn->ctx, authid);
|
||||
|
||||
xmpp_stanza_add_child(auth, authdata);
|
||||
xmpp_stanza_release(authdata);
|
||||
|
||||
Reference in New Issue
Block a user