Merge "res_xmpp: Fix ref counting issue"

This commit is contained in:
Joshua Colp
2017-03-29 06:57:48 -05:00
committed by Gerrit Code Review

View File

@@ -559,7 +559,6 @@ static void xmpp_client_destructor(void *obj)
ast_xmpp_client_disconnect(client);
ast_endpoint_shutdown(client->endpoint);
ao2_cleanup(client->endpoint);
client->endpoint = NULL;
if (client->filter) {