mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 21:47:59 +00:00
set to omapi_object_types to NULL after freeing the types
This commit is contained in:
parent
ad1a8079ba
commit
7ce7f319b5
@ -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) {
|
|||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user