diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-20 00:37:29 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-20 00:37:29 +0000 |
commit | 548b9dd8dbfa0dbe5247d9b4af7e388855beb506 (patch) | |
tree | 81b92ab0e12a687937e7948736fcb280dbc8d6c6 /gc/include/leak_detector.h | |
parent | [w3m-dev 02655] print version and compile options (diff) | |
download | w3m-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.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() |