summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index edf06d313a..51dc8109ea 100644
--- a/gc.c
+++ b/gc.c
@@ -49,10 +49,12 @@ xmalloc(size)
void *mem;
if (size == 0) size = 1;
+#if 0
malloc_memories += size;
if (malloc_memories > GC_MALLOC_LIMIT) {
gc_gc();
}
+#endif
mem = malloc(size);
if (!mem) {
gc_gc();