mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
dereference ns_g_omapimgr in omapi.c:listen_done
This commit is contained in:
@@ -277,10 +277,15 @@ destroy_managers(void) {
|
||||
isc_timermgr_destroy(&ns_g_timermgr);
|
||||
isc_socketmgr_destroy(&ns_g_socketmgr);
|
||||
|
||||
if (ns_g_omapimgr != NULL) {
|
||||
if (ns_g_omapimgr != NULL)
|
||||
/*
|
||||
* XXXDCL This is not fully right yet; it is just
|
||||
* a quick fix to get things to work with the new
|
||||
* omapi_listener_shutdown procedure. I am not sure
|
||||
* that the server will really wait until listendone
|
||||
* is called and all of the memory is freed.
|
||||
*/
|
||||
omapi_listener_shutdown(ns_g_omapimgr);
|
||||
omapi_object_dereference(&ns_g_omapimgr);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user