mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-26 03:11:56 -05:00
2265. [bug] Test that the memory context's basic_table is non NULL
before freeing. [RT #17265]
This commit is contained in:
parent
32a8d3517a
commit
80bd93ea22
2 changed files with 6 additions and 2 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
2265. [bug] Test that the memory context's basic_table is non NULL
|
||||
before freeing. [RT #17265]
|
||||
|
||||
2264. [bug] Server prefix length was being ignored. [RT #17308]
|
||||
|
||||
2263. [bug] "named-checkconf -z" failed to set default value
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: mem.c,v 1.116.18.18 2007/10/30 23:31:43 marka Exp $ */
|
||||
/* $Id: mem.c,v 1.116.18.19 2007/11/26 04:30:47 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -907,7 +907,8 @@ destroy(isc_mem_t *ctx) {
|
|||
for (i = 0; i < ctx->basic_table_count; i++)
|
||||
(ctx->memfree)(ctx->arg, ctx->basic_table[i]);
|
||||
(ctx->memfree)(ctx->arg, ctx->freelists);
|
||||
(ctx->memfree)(ctx->arg, ctx->basic_table);
|
||||
if (ctx->basic_table != NULL)
|
||||
(ctx->memfree)(ctx->arg, ctx->basic_table);
|
||||
}
|
||||
|
||||
ondest = ctx->ondestroy;
|
||||
|
|
|
|||
Loading…
Reference in a new issue