diff --git a/lib/nvmf/fc.c b/lib/nvmf/fc.c index bd339c9ce3..673249a3e7 100644 --- a/lib/nvmf/fc.c +++ b/lib/nvmf/fc.c @@ -2890,7 +2890,7 @@ nvmf_fc_adm_hwqp_clean_sync_cb(struct spdk_nvmf_fc_hwqp *hwqp) if (++ctx->hwqps_responded == ctx->num_hwqps) { free(ctx->sync_poller_args); free(ctx->abts_poller_args); - spdk_free(ctx); + free(ctx); } } }