The acl name was being assigned to NULL before it could be freed.

This commit is contained in:
Brian Wellington
2000-08-11 02:34:45 +00:00
parent ea52f8cf9c
commit d3ed0df76c
2 changed files with 2 additions and 4 deletions

View File

@@ -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 <config.h>
@@ -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);
}
}