]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
ctl/purge: remove an obsolete comment
authorDavid Vašek <david.vasek@nic.cz>
Fri, 22 Nov 2024 18:55:10 +0000 (19:55 +0100)
committerDaniel Salzman <daniel.salzman@nic.cz>
Wed, 24 Sep 2025 09:26:09 +0000 (11:26 +0200)
src/knot/ctl/commands.c

index b133cb706c1c93d751f55052398f48679aed304b..94472099fb07f7754084e8ad76766a2e0c7509ab 100644 (file)
@@ -1551,7 +1551,6 @@ static int purge_orphan_member_cb(const knot_dname_t *member, const knot_dname_t
                      err_str, catz_str);
 
        // Single-purpose fake zone_t containing only minimal data.
-       // malloc() should suffice here, but clean zone_t is more mishandling-proof.
        zone_t *orphan = calloc(1, sizeof(zone_t));
        if (orphan == NULL) {
                return KNOT_ENOMEM;