From d51fae403e7913e6a8c3efbb96c10202c1305b16 Mon Sep 17 00:00:00 2001 From: Cole Miller Date: Thu, 22 Feb 2024 14:39:11 -0500 Subject: [PATCH] Let ASan do its job Signed-off-by: Cole Miller --- test/lib/heap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/lib/heap.c b/test/lib/heap.c index 765509b74..d716cbb87 100644 --- a/test/lib/heap.c +++ b/test/lib/heap.c @@ -187,11 +187,11 @@ void test_heap_tear_down(void *data) int memory_used; mem_stats(&malloc_count, &memory_used); - if (malloc_count > 0 || memory_used > 0) { + /* if (malloc_count > 0 || memory_used > 0) { munit_errorf( "teardown memory:\n bytes: %11d\n allocations: %5d\n", memory_used, malloc_count); - } + } */ /* Restore default memory management. */ rc = sqlite3_config(SQLITE_CONFIG_GETMALLOC, &mem_fault);