diff options
author | Internet Software Consortium, Inc <@isc.org> | 2012-01-18 10:11:16 -0700 |
---|---|---|
committer | Internet Software Consortium, Inc <@isc.org> | 2012-01-18 10:11:16 -0700 |
commit | f8bb4eefd76094703b91acc987d8df0603639376 (patch) | |
tree | e2b41a79e5cee716e4c8b9c07c83910509e6ac2e /contrib | |
parent | 8b08ed79737eaec2fd64fbecce719fc5d91c0f48 (diff) | |
download | bind9-f8bb4eefd76094703b91acc987d8df0603639376.tar.gz |
9.9.0rc1
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/nslint-2.1a3/nslint.c | 3 | ||||
-rw-r--r-- | contrib/sdb/ldap/zone2ldap.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/contrib/nslint-2.1a3/nslint.c b/contrib/nslint-2.1a3/nslint.c index 1f3d1913..969df56c 100644 --- a/contrib/nslint-2.1a3/nslint.c +++ b/contrib/nslint-2.1a3/nslint.c @@ -23,7 +23,7 @@ static const char copyright[] = "@(#) Copyright (c) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001\n\ The Regents of the University of California. All rights reserved.\n"; static const char rcsid[] = - "@(#) $Id: nslint.c,v 1.1 2001-12-21 04:12:04 marka Exp $ (LBL)"; + "@(#) $Id: nslint.c,v 1.2 2011-11-30 00:48:51 marka Exp $ (LBL)"; #endif /* * nslint - perform consistency checks on dns files @@ -1059,6 +1059,7 @@ process(register const char *file, register const char *domain, ++errors; fprintf(stderr, "%s: %s/%s:%d bad in-addr.arpa domain\n", prog, cwd, file, n); + fclose(f); return; } diff --git a/contrib/sdb/ldap/zone2ldap.c b/contrib/sdb/ldap/zone2ldap.c index e06f4f95..6db7f85a 100644 --- a/contrib/sdb/ldap/zone2ldap.c +++ b/contrib/sdb/ldap/zone2ldap.c @@ -328,6 +328,8 @@ main (int *argc, char **argv) isc_hash_destroy(); isc_entropy_detach(&ectx); isc_mem_destroy(&mctx); + if (zonefile) + free(zonefile); return 0; } |