From 572ca391c74ae4eb0367de20d722913e59656f14 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 27 Jul 2012 07:53:39 +1000 Subject: [PATCH] silence compiler warnings --- lib/isc/tests/isctest.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/isc/tests/isctest.c b/lib/isc/tests/isctest.c index 356bdf2fbc..581d9cf833 100644 --- a/lib/isc/tests/isctest.c +++ b/lib/isc/tests/isctest.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include @@ -127,7 +128,7 @@ isc_test_begin(FILE *logfile) { ncpus = 1; #endif - CHECK(isc_taskmgr_create(mctx, ncpus, 0, &taskmgr)); + CHECK(create_managers()); return (ISC_R_SUCCESS); @@ -150,6 +151,9 @@ isc_test_end() { } if (ectx != NULL) isc_entropy_detach(&ectx); + + cleanup_managers(); + if (mctx != NULL) isc_mem_destroy(&mctx); }