diff --git a/lib/event/rpc/app_rpc.c b/lib/event/rpc/app_rpc.c index cb5a4cfe7b..dcc863439e 100644 --- a/lib/event/rpc/app_rpc.c +++ b/lib/event/rpc/app_rpc.c @@ -93,8 +93,8 @@ spdk_rpc_kill_instance(struct spdk_jsonrpc_request *request, } SPDK_DEBUGLOG(SPDK_LOG_REACTOR, "sending signal %d\n", signals[i].signal); - kill(getpid(), signals[i].signal); free_rpc_kill_instance(&req); + kill(getpid(), signals[i].signal); w = spdk_jsonrpc_begin_result(request); if (w == NULL) {