summaryrefslogtreecommitdiff
path: root/res/res_xmpp.c
diff options
context:
space:
mode:
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) {