2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

enable ISC_MEM_TRACKLINES gnifty feature

This commit is contained in:
David Lawrence
2000-07-26 22:42:43 +00:00
parent 371827c1e0
commit 5f73e025a1

View File

@@ -15,12 +15,14 @@
* SOFTWARE.
*/
/* $Id: rbt_test.c,v 1.33 2000/07/21 21:13:40 gson Exp $ */
/* $Id: rbt_test.c,v 1.34 2000/07/26 22:42:43 tale Exp $ */
#include <config.h>
#include <stdlib.h>
#define ISC_MEM_TRACKLINES
#include <isc/commandline.h>
#include <isc/mem.h>
#include <isc/string.h>
@@ -287,6 +289,11 @@ main(int argc, char **argv) {
setbuf(stdout, NULL);
/*
* So isc_mem_stats() can report any allocation leaks.
*/
isc_mem_debugging = 2;
result = isc_mem_create(0, 0, &mctx);
if (result != ISC_R_SUCCESS) {
printf("isc_mem_create: %s: exiting\n",