aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/alloc.c b/src/alloc.c
index da0c3ad4b3e..11afdfd7cc0 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -621,12 +621,6 @@ buffer_memory_full (ptrdiff_t nbytes)
621#endif 621#endif
622} 622}
623 623
624/* A common multiple of the positive integers A and B. Ideally this
625 would be the least common multiple, but there's no way to do that
626 as a constant expression in C, so do the best that we can easily do. */
627#define COMMON_MULTIPLE(a, b) \
628 ((a) % (b) == 0 ? (a) : (b) % (a) == 0 ? (b) : (a) * (b))
629
630#ifndef XMALLOC_OVERRUN_CHECK 624#ifndef XMALLOC_OVERRUN_CHECK
631#define XMALLOC_OVERRUN_CHECK_OVERHEAD 0 625#define XMALLOC_OVERRUN_CHECK_OVERHEAD 0
632#else 626#else
@@ -7030,7 +7024,9 @@ sweep_symbols (void)
7030 { 7024 {
7031 if (!sym->s.gcmarkbit) 7025 if (!sym->s.gcmarkbit)
7032 { 7026 {
7033 if (sym->s.redirect == SYMBOL_LOCALIZED) 7027 if (sym->s.redirect == SYMBOL_LOCALIZED
7028 /* Already freed? */
7029 && !EQ (sym->s.function, Vdead))
7034 xfree (SYMBOL_BLV (&sym->s)); 7030 xfree (SYMBOL_BLV (&sym->s));
7035 sym->s.next = symbol_free_list; 7031 sym->s.next = symbol_free_list;
7036 symbol_free_list = &sym->s; 7032 symbol_free_list = &sym->s;