Commit 7d8d82ce authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

409. [bug] If named was shut down early in the startup

                        process, ns_omapi_shutdown() would attempt to lock
                        an unintialized mutex. [RT #262]
parent fa9a4071
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment