From f978840beefd9d0ac3fb9a26f5440eb9b20584c9 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 5 Oct 2001 04:36:14 +0000 Subject: * heap.h (inheap): Check for NULL. --- winsup/cygwin/debug.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'winsup/cygwin/debug.h') diff --git a/winsup/cygwin/debug.h b/winsup/cygwin/debug.h index 8323e617a..fdd3d3ccd 100644 --- a/winsup/cygwin/debug.h +++ b/winsup/cygwin/debug.h @@ -13,6 +13,12 @@ details. */ #include "dlmalloc.h" #define MALLOC_CHECK ({\ debug_printf ("checking malloc pool");\ + free (malloc (20));\ + free (malloc (128));\ + free (malloc (4096));\ + free (malloc (16384));\ + free (malloc (32768));\ + free (malloc (65536));\ (void)mallinfo ();\ }) #endif -- cgit v1.2.3