From 7ce7f319b5fed31c359a12487c7da9d7b3ea2e6c Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Mon, 31 Jan 2000 20:24:43 +0000 Subject: [PATCH] set to omapi_object_types to NULL after freeing the types --- lib/omapi/object.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/omapi/object.c b/lib/omapi/object.c index 0bd30d998e..8331b4b922 100644 --- a/lib/omapi/object.c +++ b/lib/omapi/object.c @@ -15,7 +15,7 @@ * 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 */ @@ -274,6 +274,8 @@ object_destroytypes(void) { next_type = type->next; isc_mem_put(omapi_mctx, type, sizeof(*type)); } + + omapi_object_types = NULL; } /*