From 5d5d88e0bb082cc82fab355b687b7cb34a8bd059 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Thu, 5 Nov 2015 17:09:11 +1100 Subject: [PATCH] ctdb-client: Do not delete reqid explicitly The reqid will be deleted when the client control state is freed. Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- ctdb/client/client_control.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ctdb/client/client_control.c b/ctdb/client/client_control.c index 4249bfbe81f..b25ff40230e 100644 --- a/ctdb/client/client_control.c +++ b/ctdb/client/client_control.c @@ -141,7 +141,6 @@ static void ctdb_client_control_done(struct tevent_req *subreq) /* Daemon will not reply, so we set status to 0 */ if (state->flags & CTDB_CTRL_FLAG_NOREPLY) { - reqid_remove(state->client->idr, state->reqid); state->reply->status = 0; tevent_req_done(req); } -- 2.34.1