From 94aaf3cd6a1cc3a0b2038a0875fc206eb187cbc4 Mon Sep 17 00:00:00 2001 From: Colin Vidal Date: Wed, 1 Jul 2026 10:30:53 +0200 Subject: [PATCH] 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. --- bin/tests/system/dyndb/driver/zone.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/bin/tests/system/dyndb/driver/zone.c b/bin/tests/system/dyndb/driver/zone.c index 388aeae975..d366a8ef67 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; }