summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/debug.h')
-rw-r--r--winsup/cygwin/debug.h6
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