mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-16 07:32:57 -04:00
2178. [bug] 'rndc reload' of a slave or stub zone resulted in
a reference leak. [RT #16867]
This commit is contained in:
parent
dda87a1740
commit
ea153228e2
2 changed files with 5 additions and 1 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
2178. [bug] 'rndc reload' of a slave or stub zone resulted in
|
||||
a reference leak. [RT #16867]
|
||||
|
||||
2177. [bug] Array bounds overrun on read (rcodetext). [RT #16798]
|
||||
|
||||
2176. [contrib] dbus update to handle race condition during
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: server.c,v 1.339.2.15.2.73 2007/04/03 23:43:25 tbox Exp $ */
|
||||
/* $Id: server.c,v 1.339.2.15.2.74 2007/05/15 02:30:43 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -3421,6 +3421,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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue