mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 15:45:25 +00:00
2265. [bug] Test that the memory context's basic_table is non NULL
before freeing. [RT #17265]
This commit is contained in:
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]
|
2264. [bug] Server prefix length was being ignored. [RT #17308]
|
||||||
|
|
||||||
2263. [bug] "named-checkconf -z" failed to set default value
|
2263. [bug] "named-checkconf -z" failed to set default value
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: mem.c,v 1.136 2007/10/30 23:30:09 marka Exp $ */
|
/* $Id: mem.c,v 1.137 2007/11/26 04:27:19 marka Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@@ -907,6 +907,7 @@ destroy(isc_mem_t *ctx) {
|
|||||||
for (i = 0; i < ctx->basic_table_count; i++)
|
for (i = 0; i < ctx->basic_table_count; i++)
|
||||||
(ctx->memfree)(ctx->arg, ctx->basic_table[i]);
|
(ctx->memfree)(ctx->arg, ctx->basic_table[i]);
|
||||||
(ctx->memfree)(ctx->arg, ctx->freelists);
|
(ctx->memfree)(ctx->arg, ctx->freelists);
|
||||||
|
if (ctx->basic_table != NULL)
|
||||||
(ctx->memfree)(ctx->arg, ctx->basic_table);
|
(ctx->memfree)(ctx->arg, ctx->basic_table);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user