diff --git a/test/unit/lib/nvme/nvme.c/nvme_ut.c b/test/unit/lib/nvme/nvme.c/nvme_ut.c index d7f80fce70..83183c0ec8 100644 --- a/test/unit/lib/nvme/nvme.c/nvme_ut.c +++ b/test/unit/lib/nvme/nvme.c/nvme_ut.c @@ -359,6 +359,7 @@ test_spdk_nvme_detach(void) CU_ASSERT(rc == 0); g_spdk_nvme_driver = NULL; + pthread_mutex_destroy(&test_driver.lock); } static void