diff --git a/CHANGES b/CHANGES index a55bfad27b..bd3b052496 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ + 853. [bug] configure_view_acl() failed to detach existing acls. + [RT #1374] + 852. [bug] Handle responses from servers which do not know about IXFR. diff --git a/bin/named/server.c b/bin/named/server.c index 480e485055..116c490c8f 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: server.c,v 1.328 2001/05/31 01:21:07 bwelling Exp $ */ +/* $Id: server.c,v 1.329 2001/06/04 14:08:34 marka Exp $ */ #include @@ -138,6 +138,8 @@ configure_view_acl(cfg_obj_t *vconfig, cfg_obj_t *config, cfg_obj_t *aclobj = NULL; int i = 0; + if (*aclp != NULL) + dns_acl_detach(aclp); if (vconfig != NULL) maps[i++] = cfg_tuple_get(vconfig, "options"); if (config != NULL) {