2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

2178. [bug] 'rndc reload' of a slave or stub zone resulted in

a reference leak. [RT #16867]
This commit is contained in:
Mark Andrews
2007-05-15 02:28:27 +00:00
parent 77397daf05
commit 65b26a4dc8
2 changed files with 5 additions and 1 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.c,v 1.483 2007/04/24 06:55:32 marka Exp $ */
/* $Id: server.c,v 1.484 2007/05/15 02:28:27 marka Exp $ */
/*! \file */
@@ -4189,6 +4189,7 @@ ns_server_reloadcommand(ns_server_t *server, char *args, isc_buffer_t *text) {
type = dns_zone_gettype(zone);
if (type == dns_zone_slave || type == dns_zone_stub) {
dns_zone_refresh(zone);
dns_zone_detach(&zone);
msg = "zone refresh queued";
} else {
result = dns_zone_load(zone);