mirror of
https://github.com/isc-projects/bind9.git
synced 2026-07-16 01:52:53 -04:00
fix: dev: Remove ACL detach deadcode from dyndb
Since `188aa43e`, `dns_acl_any()` can't fail (and thus would always set memory to its target). Removing deadcode that would detach the ACL if `dns_acl_any()` would return some error while the ACL would be created and attached. Merge branch 'colin/remove-acl-detach-deadcode' into 'main' See merge request isc-projects/bind9!12333
This commit is contained in:
commit
094efe68e3
1 changed files with 0 additions and 3 deletions
|
|
@ -103,9 +103,6 @@ cleanup:
|
|||
}
|
||||
dns_zone_detach(&raw);
|
||||
}
|
||||
if (acl_any != NULL) {
|
||||
dns_acl_detach(&acl_any);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue