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:
Colin Vidal 2026-07-08 08:02:53 +02:00
commit 094efe68e3

View file

@ -103,9 +103,6 @@ cleanup:
}
dns_zone_detach(&raw);
}
if (acl_any != NULL) {
dns_acl_detach(&acl_any);
}
return result;
}