mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 09:52:27 -04:00
3304. [bug] Use hmctx, not mctx when freeing rbtdb->heaps. [RT #28571]
This commit is contained in:
parent
efc5cea15d
commit
2490e43c67
2 changed files with 3 additions and 1 deletions
2
CHANGES
2
CHANGES
|
|
@ -1,3 +1,5 @@
|
|||
3304. [bug] Use hmctx, not mctx when freeing rbtdb->heaps. [RT #28571]
|
||||
|
||||
3303. [bug] named could die when reloading. [RT #28606]
|
||||
|
||||
3302. [bug] dns_dnssec_findmatchingkeys could fail to find
|
||||
|
|
|
|||
|
|
@ -7818,7 +7818,7 @@ dns_rbtdb_create
|
|||
for (i = 0 ; i < (int)rbtdb->node_lock_count ; i++)
|
||||
if (rbtdb->heaps[i] != NULL)
|
||||
isc_heap_destroy(&rbtdb->heaps[i]);
|
||||
isc_mem_put(mctx, rbtdb->heaps,
|
||||
isc_mem_put(hmctx, rbtdb->heaps,
|
||||
rbtdb->node_lock_count * sizeof(isc_heap_t *));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue