diff options
author | Christopher Faylor <me@cgf.cx> | 2001-10-05 04:36:14 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-10-05 04:36:14 +0000 |
commit | f978840beefd9d0ac3fb9a26f5440eb9b20584c9 (patch) | |
tree | ac07b9b2fca5cd42e307f418811663f85aefa9b7 /winsup/cygwin/debug.h | |
parent | 8d817b0f9ed20cfa5e9482074999c2973a2a9543 (diff) | |
download | cygnal-f978840beefd9d0ac3fb9a26f5440eb9b20584c9.tar.gz cygnal-f978840beefd9d0ac3fb9a26f5440eb9b20584c9.tar.bz2 cygnal-f978840beefd9d0ac3fb9a26f5440eb9b20584c9.zip |
* heap.h (inheap): Check for NULL.
Diffstat (limited to 'winsup/cygwin/debug.h')
-rw-r--r-- | winsup/cygwin/debug.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |