From: Colin Vidal Date: Wed, 1 Jul 2026 08:30:53 +0000 (+0200) Subject: Remove ACL detach deadcode from dyndb X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=94aaf3cd6a1cc3a0b2038a0875fc206eb187cbc4;p=thirdparty%2Fbind9.git Remove ACL detach deadcode from dyndb Since `188aa43e48379572ffa758e45333c67214917d39`, `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. --- diff --git a/bin/tests/system/dyndb/driver/zone.c b/bin/tests/system/dyndb/driver/zone.c index 388aeae975c..d366a8ef67d 100644 --- a/bin/tests/system/dyndb/driver/zone.c +++ b/bin/tests/system/dyndb/driver/zone.c @@ -103,9 +103,6 @@ cleanup: } dns_zone_detach(&raw); } - if (acl_any != NULL) { - dns_acl_detach(&acl_any); - } return result; }