Skip to content

Commit

Permalink
Let ASan do its job
Browse files Browse the repository at this point in the history
Signed-off-by: Cole Miller <[email protected]>
  • Loading branch information
cole-miller committed Feb 22, 2024
1 parent 42e0b07 commit d51fae4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/lib/heap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d51fae4

Please sign in to comment.