Hi, In auth.c:547 "authid = _get_authid(conn);" authid never being freed. I offer to add "xmpp_free(conn->ctx, authid);" before line 553.