From d3ed0df76cf980b0a2a6ab8630b804dcca870de8 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Fri, 11 Aug 2000 02:34:45 +0000 Subject: [PATCH] The acl name was being assigned to NULL before it could be freed. --- bin/named/aclconf.c | 3 +-- lib/dns/aclconf.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/named/aclconf.c b/bin/named/aclconf.c index 32a897c99a..2370da9c23 100644 --- a/bin/named/aclconf.c +++ b/bin/named/aclconf.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: aclconf.c,v 1.22 2000/08/11 02:11:20 bwelling Exp $ */ +/* $Id: aclconf.c,v 1.23 2000/08/11 02:34:45 bwelling Exp $ */ #include @@ -41,7 +41,6 @@ dns_aclconfctx_destroy(dns_aclconfctx_t *ctx) { dacl = next) { next = ISC_LIST_NEXT(dacl, nextincache); - dacl->name = NULL; dns_acl_detach(&dacl); } } diff --git a/lib/dns/aclconf.c b/lib/dns/aclconf.c index 32a897c99a..2370da9c23 100644 --- a/lib/dns/aclconf.c +++ b/lib/dns/aclconf.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: aclconf.c,v 1.22 2000/08/11 02:11:20 bwelling Exp $ */ +/* $Id: aclconf.c,v 1.23 2000/08/11 02:34:45 bwelling Exp $ */ #include @@ -41,7 +41,6 @@ dns_aclconfctx_destroy(dns_aclconfctx_t *ctx) { dacl = next) { next = ISC_LIST_NEXT(dacl, nextincache); - dacl->name = NULL; dns_acl_detach(&dacl); } }