diff options
author | Dai Sato <satodai@dog.intcul.tohoku.ac.jp> | 2001-11-22 17:52:28 +0000 |
---|---|---|
committer | Dai Sato <satodai@dog.intcul.tohoku.ac.jp> | 2001-11-22 17:52:28 +0000 |
commit | a5067a1853b490e9c551ac2ff7c4cb58a9bb3f48 (patch) | |
tree | 42ca751a0b79dd050082b1e87c7d8957c161c6ff /gc/include/leak_detector.h | |
parent | [w3m-dev 02509] (diff) | |
download | w3m-inu-0-2-2.tar.gz w3m-inu-0-2-2.zip |
w3m-0.2.2-inu-1.1 sourceinu-0-2-2-rel-1-1inu-0-2-2
Diffstat (limited to 'gc/include/leak_detector.h')
-rw-r--r-- | gc/include/leak_detector.h | 4 |
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() |