From abcc84acd87d261c0073b1fbb6fd305d01ffe913 Mon Sep 17 00:00:00 2001 From: Changpeng Liu Date: Wed, 29 Dec 2021 20:13:56 +0800 Subject: [PATCH] examples/ioat: add missed spdk_env_fini() call when exiting Change-Id: I993d41dbec264fef140c83dcd585231c8d958a97 Signed-off-by: Changpeng Liu Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10908 Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins Reviewed-by: Jim Harris Reviewed-by: Shuhei Matsumoto Reviewed-by: Aleksey Marchuk --- examples/ioat/perf/perf.c | 1 + examples/ioat/verify/verify.c | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/ioat/perf/perf.c b/examples/ioat/perf/perf.c index 2e7ea7da20..76b30aeacf 100644 --- a/examples/ioat/perf/perf.c +++ b/examples/ioat/perf/perf.c @@ -590,5 +590,6 @@ cleanup: unregister_workers(); ioat_exit(); + spdk_env_fini(); return rc; } diff --git a/examples/ioat/verify/verify.c b/examples/ioat/verify/verify.c index 671f91154e..96f4754d27 100644 --- a/examples/ioat/verify/verify.c +++ b/examples/ioat/verify/verify.c @@ -518,5 +518,6 @@ cleanup: ioat_exit(); free(threads); + spdk_env_fini(); return rc; }