From 88b8cddabdaaa1bfd6d6f566bcebc38f516227df Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Sat, 11 Jul 2020 16:05:49 -0400 Subject: improved the way value memory management works --- allocator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'allocator.c') diff --git a/allocator.c b/allocator.c index 98005ef..a731928 100644 --- a/allocator.c +++ b/allocator.c @@ -25,7 +25,7 @@ static void *err_malloc(size_t bytes); static void *err_calloc(size_t n, size_t sz); static void *err_realloc(void *prev, size_t new_size); #ifdef TOC_DEBUG -#define NO_ALLOCATOR 1 /* useful for debugging; valgrind checks writing past the end of a malloc, but that won't work with an allocator */ +//#define NO_ALLOCATOR 1 /* useful for debugging; valgrind checks writing past the end of a malloc, but that won't work with an allocator */ #endif /* number of bytes a page hold, not including the header */ #define PAGE_BYTES (16384 - sizeof(Page)) -- cgit v1.2.3