ut/nvme: clean up test_driver.lock in detach test

Change-Id: I1ec1ac16a2a49aa352c48c70408d5a8683972869
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/382510
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Daniel Verkamp 2017-10-13 14:37:35 -07:00 committed by Jim Harris
parent 904f3aa1e1
commit 3f9d0fb348

View File

@ -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