mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 23:15:18 +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:
@@ -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);
|
return (all_ok);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user