Commit d14c2683 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

Remove redundant nzf_remove() call during delzone (#39844)

parent 0da3028c
4140. [cleanup] Remove redundant nzf_remove() call during delzone.
[RT #39844]
4139. [doc] fix rpz-client-ip documentation [RT #39783]
4138. [bug] An uninitialized value in validator.c could result
......
......@@ -9729,11 +9729,6 @@ ns_server_delzone(ns_server_t *server, char *args, isc_buffer_t **text) {
dns_zone_unload(zone);
}
/* Remove the zone from the new_zone_file if applicable */
added = dns_zone_getadded(zone);
if (added && view->new_zone_file != NULL)
CHECK(nzf_remove(view->new_zone_file, view->name, zonename));
/* Clean up stub / slave zone files */
dns_zone_getraw(zone, &raw);
mayberaw = (raw != NULL) ? raw : zone;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment