409. [bug] If named was shut down early in the startup
process, ns_omapi_shutdown() would attempt to lock
an unintialized mutex. [RT #262]
This commit is contained in:
5
CHANGES
5
CHANGES
@@ -1,3 +1,8 @@
|
||||
|
||||
409. [bug] If named was shut down early in the startup
|
||||
process, ns_omapi_shutdown() would attempt to lock
|
||||
an unintialized mutex. [RT #262]
|
||||
|
||||
408. [bug] stub zones could leak memory and reference counts if
|
||||
all the masters were unreachable.
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: omapiconf.c,v 1.10 2000/08/01 01:11:56 tale Exp $ */
|
||||
/* $Id: omapiconf.c,v 1.11 2000/08/26 01:46:42 gson Exp $ */
|
||||
|
||||
/*
|
||||
* Principal Author: DCL
|
||||
@@ -100,6 +100,8 @@ void
|
||||
ns_omapi_shutdown(isc_boolean_t exiting) {
|
||||
ns_omapilistener_t *listener;
|
||||
|
||||
RUNTIME_CHECK(isc_once_do(&once, initialize_mutex) == ISC_R_SUCCESS);
|
||||
|
||||
if (exiting) {
|
||||
/*
|
||||
* When not exiting, this function is called from
|
||||
|
||||
Reference in New Issue
Block a user