mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
fix a memory leak that could occur when signing
when signatures were not added because of too many types already existing at a node, the diff was not being cleaned up; this led to a memory leak being reported at shutdown. (cherry picked from commit 2825bdb1ae5be801e7ed603ba2455ed9a308f1f7)
This commit is contained in:
parent
2f5c670ce9
commit
b89e516420
1 changed files with 1 additions and 0 deletions
|
|
@ -10031,6 +10031,7 @@ cleanup:
|
|||
}
|
||||
|
||||
dns_diff_clear(&_sig_diff);
|
||||
dns_diff_clear(&post_diff);
|
||||
|
||||
for (i = 0; i < nkeys; i++) {
|
||||
dst_key_free(&zone_keys[i]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue