2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

auth_destroy in omapi_lib_destroy

This commit is contained in:
David Lawrence
2000-03-14 03:39:40 +00:00
parent cc5f1097d3
commit 28f95a516b

View File

@@ -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();
}