Fix crash in res_xmpp when deleting pubsub node from CLI
[asterisk/asterisk.git] / res / res_xmpp.c
index 3e84e41..3ba849e 100644 (file)
@@ -1093,8 +1093,6 @@ static void xmpp_pubsub_delete_node(struct ast_xmpp_client *client, const char *
        iks_insert_attrib(delete, "node", node_name);
        ast_xmpp_client_send(client, request);
 
-       iks_delete(delete);
-       iks_delete(pubsub);
        iks_delete(request);
 }