2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Fix the style of an array de-allocation in dnssec-cds

Mention the element size explicitly, so that `matching_sigs()`,
`signed_loose()`, and `signed_strict()` use the same calculation.
This commit is contained in:
Tony Finch
2023-06-12 12:51:02 +01:00
committed by Ondřej Surý
parent 1d341096c1
commit 6271f3c054

View File

@@ -739,7 +739,7 @@ signed_strict(dns_rdataset_t *dsset, dns_secalg_t *algo) {
}
}
isc_mem_put(mctx, algo, nkey);
isc_mem_put(mctx, algo, nkey * sizeof(algo[0]));
return (all_ok);
}