aboutsummaryrefslogtreecommitdiffstats
path: root/gc/include/leak_detector.h
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-20 00:37:29 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-20 00:37:29 +0000
commit548b9dd8dbfa0dbe5247d9b4af7e388855beb506 (patch)
tree81b92ab0e12a687937e7948736fcb280dbc8d6c6 /gc/include/leak_detector.h
parent[w3m-dev 02655] print version and compile options (diff)
downloadw3m-548b9dd8dbfa0dbe5247d9b4af7e388855beb506.tar.gz
w3m-548b9dd8dbfa0dbe5247d9b4af7e388855beb506.zip
sync with w3m-0.2.2-inu-1.1/gc
Diffstat (limited to 'gc/include/leak_detector.h')
-rw-r--r--gc/include/leak_detector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gc/include/leak_detector.h b/gc/include/leak_detector.h
index 6786825..0674ab4 100644
--- a/gc/include/leak_detector.h
+++ b/gc/include/leak_detector.h
@@ -1,7 +1,7 @@
#define GC_DEBUG
#include "gc.h"
#define malloc(n) GC_MALLOC(n)
-#define calloc(m,n) GC_MALLOC(m*n)
+#define calloc(m,n) GC_MALLOC((m)*(n))
#define free(p) GC_FREE(p)
-#define realloc(p,n) GC_REALLOC(n)
+#define realloc(p,n) GC_REALLOC((p),(n))
#define CHECK_LEAKS() GC_gcollect()