examples/ioat: add missed spdk_env_fini() call when exiting

Change-Id: I993d41dbec264fef140c83dcd585231c8d958a97
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10908
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
Changpeng Liu 2021-12-29 20:13:56 +08:00 committed by Jim Harris
parent 569e2eeda1
commit abcc84acd8
2 changed files with 2 additions and 0 deletions

View File

@ -590,5 +590,6 @@ cleanup:
unregister_workers();
ioat_exit();
spdk_env_fini();
return rc;
}

View File

@ -518,5 +518,6 @@ cleanup:
ioat_exit();
free(threads);
spdk_env_fini();
return rc;
}