Fixed memory leak

This commit is contained in:
Damian Obernikowicz
2014-08-19 23:08:42 +02:00
committed by Dmitry Podgorny
parent d693cc6d15
commit 783bad0897

View File

@@ -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);