Merge branch '3900-catz-error-path-issues-v9_16' into 'v9_16'
[9.16] Resolve "Error path cleanup issues in dns_catz_new_zones() and dns_catz_new_zone()" See merge request isc-projects/bind9!7607
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
6116. [bug] Fix error path cleanup issue in the dns_catz_new_zones()
|
||||
function. [GL #3900]
|
||||
|
||||
6105. [bug] Detach 'rpzs' and 'catzs' from the previous view in
|
||||
configure_rpz() and configure_catz(), respectively,
|
||||
just after attaching it to the new view. [GL #3880]
|
||||
|
||||
+1
-1
@@ -630,7 +630,7 @@ cleanup_ht:
|
||||
isc_ht_destroy(&new_zones->zones);
|
||||
isc_refcount_destroy(&new_zones->refs);
|
||||
isc_mutex_destroy(&new_zones->lock);
|
||||
isc_mem_put(mctx, new_zones, sizeof(*new_zones));
|
||||
isc_mem_putanddetach(&new_zones->mctx, new_zones, sizeof(*new_zones));
|
||||
|
||||
return (result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user