From 28f95a516bec6fe7270e611fbebb84b0d529d865 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 14 Mar 2000 03:39:40 +0000 Subject: [PATCH] auth_destroy in omapi_lib_destroy --- lib/omapi/lib.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/omapi/lib.c b/lib/omapi/lib.c index 7f45692f52..8f228b9d86 100644 --- a/lib/omapi/lib.c +++ b/lib/omapi/lib.c @@ -97,6 +97,11 @@ omapi_lib_init(isc_mem_t *mctx) { if (result != ISC_R_SUCCESS) return (result); + /* + * XXXDCL should the caller specify an existing taskmgr instead? + * how about having the caller specify an existing task? + * i need clarity on how taskmgr/task/event all work together. + */ result = isc_taskmgr_create(omapi_mctx, 1, 0, &omapi_taskmgr); if (result != ISC_R_SUCCESS) return (result); @@ -146,4 +151,6 @@ omapi_lib_destroy() { object_destroytypes(); handle_destroy(); + + auth_destroy(); }