summaryrefslogtreecommitdiff
path: root/res/res_xmpp.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2017-03-29 06:57:48 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2017-03-29 06:57:49 -0500
commitf43cfb81d92bfdb99ad6467047fdf0469228ca3c (patch)
tree3db8fda8278cd2ef8c6f2c81fad932232d89392a /res/res_xmpp.c
parentd0ada2246e7d594b4b3e4eb30f53eeb822aa8963 (diff)
parentee81ee1f143cfd2c4174c87d779ebe5c5d078f94 (diff)
Merge "res_xmpp: Fix ref counting issue"
Diffstat (limited to 'res/res_xmpp.c')
-rw-r--r--res/res_xmpp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/res/res_xmpp.c b/res/res_xmpp.c
index 4b52a269c..cc9d56f32 100644
--- a/res/res_xmpp.c
+++ b/res/res_xmpp.c
@@ -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) {