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 408. [bug] stub zones could leak memory and reference counts if
all the masters were unreachable. all the masters were unreachable.
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * 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 * Principal Author: DCL
...@@ -100,6 +100,8 @@ void ...@@ -100,6 +100,8 @@ void
ns_omapi_shutdown(isc_boolean_t exiting) { ns_omapi_shutdown(isc_boolean_t exiting) {
ns_omapilistener_t *listener; ns_omapilistener_t *listener;
RUNTIME_CHECK(isc_once_do(&once, initialize_mutex) == ISC_R_SUCCESS);
if (exiting) { if (exiting) {
/* /*
* When not exiting, this function is called from * When not exiting, this function is called from
......
Supports Markdown
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