From b704d25ff33569a412f1a5a459dafabee326fa8f Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Sat, 30 May 2015 17:54:33 +1000 Subject: [PATCH] unlock T4_mx --- bin/tests/tasks/t_tasks.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/tests/tasks/t_tasks.c b/bin/tests/tasks/t_tasks.c index 3adef41d98..f89a04d68e 100644 --- a/bin/tests/tasks/t_tasks.c +++ b/bin/tests/tasks/t_tasks.c @@ -985,6 +985,12 @@ t_tasks4(void) { if (isc_result != ISC_R_SUCCESS) { t_info("isc_task_create failed %s\n", isc_result_totext(isc_result)); + isc_result = isc_mutex_unlock(&T4_mx); + if (isc_result != ISC_R_SUCCESS) { + t_info("isc_mutex_unlock failed %s\n", + isc_result_totext(isc_result)); + ++T4_nprobs; + } DESTROYLOCK(&T4_mx); (void) isc_condition_destroy(&T4_cv); isc_taskmgr_destroy(&tmgr);