From 79dc50bb79bfa0caeeef62dfb8b2c4fe09926d29 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Thu, 1 Nov 2018 23:49:17 +0000 Subject: [PATCH] ...Actually, I don't think these are meant to be here Looking at 501812f307cd4b7609a1c6226f26bb7780cf08b8, the entire point was to *replace* these lines. That explains why they lacked braces earlier. --- stb_leakcheck.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/stb_leakcheck.h b/stb_leakcheck.h index ad0938b..9580bfa 100644 --- a/stb_leakcheck.h +++ b/stb_leakcheck.h @@ -116,20 +116,14 @@ void stb_leakcheck_dumpmem(void) stb_leakcheck_malloc_info *mi = mi_head; while (mi) { if ((ptrdiff_t) mi->size >= 0) - { stblkck_internal_print("LEAKED", mi->file, mi->line, mi->size, mi+1); - printf("LEAKED: %s (%4d): %8d bytes at %p\n", mi->file, mi->line, (int) mi->size, (void*)(mi+1)); - } mi = mi->next; } #ifdef STB_LEAKCHECK_SHOWALL mi = mi_head; while (mi) { if ((ptrdiff_t) mi->size < 0) - { stblkck_internal_print("FREED", mi->file, mi->line, ~mi->size, mi+1); - printf("FREED : %s (%4d): %8d bytes at %p\n", mi->file, mi->line, (int) ~mi->size, (void*)(mi+1)); - } mi = mi->next; } #endif