From ac35d3d6c5b1da8ce3f6aaff730048627bea9178 Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Fri, 9 Feb 2024 11:46:46 -0500 Subject: [PATCH] Switch to z_undeclare_queryable. It's just the counterpart to z_declare_queryable. Signed-off-by: Chris Lalancette --- rmw_zenoh_cpp/src/rmw_zenoh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rmw_zenoh_cpp/src/rmw_zenoh.cpp b/rmw_zenoh_cpp/src/rmw_zenoh.cpp index 913da9ac..5b2f19b3 100644 --- a/rmw_zenoh_cpp/src/rmw_zenoh.cpp +++ b/rmw_zenoh_cpp/src/rmw_zenoh.cpp @@ -2661,7 +2661,7 @@ rmw_destroy_service(rmw_node_t * node, rmw_service_t * service) // CLEANUP ================================================================ z_drop(z_move(service_data->keyexpr)); - z_drop(z_move(service_data->qable)); + z_undeclare_queryable(z_move(service_data->qable)); z_drop(z_move(service_data->token)); RMW_TRY_DESTRUCTOR(