* heap.h (inheap): Check for NULL.

This commit is contained in:
Christopher Faylor
2001-10-05 04:36:14 +00:00
parent 8d817b0f9e
commit f978840bee
5 changed files with 13 additions and 2 deletions

View File

@ -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