Commit 7ce7f319 authored by David Lawrence's avatar David Lawrence
Browse files

set to omapi_object_types to NULL after freeing the types

parent ad1a8079
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* SOFTWARE. * SOFTWARE.
*/ */
/* $Id: object.c,v 1.10 2000/01/31 14:52:33 tale Exp $ */ /* $Id: object.c,v 1.11 2000/01/31 20:24:43 tale Exp $ */
/* Principal Author: Ted Lemon */ /* Principal Author: Ted Lemon */
...@@ -274,6 +274,8 @@ object_destroytypes(void) { ...@@ -274,6 +274,8 @@ object_destroytypes(void) {
next_type = type->next; next_type = type->next;
isc_mem_put(omapi_mctx, type, sizeof(*type)); isc_mem_put(omapi_mctx, type, sizeof(*type));
} }
omapi_object_types = NULL;
} }
/* /*
......
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