summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorTim Bunce <Tim.Bunce@ig.co.uk>1997-01-27 23:39:48 +0000
committerChip Salzenberg <chip@atlantic.net>1997-01-29 18:11:00 +1200
commitba1485b3aac941801125075387ba52c091447aa2 (patch)
tree04f726bdabdd84daaa8b72dab5133edd80947ee5 /malloc.c
parent2e3febc6b56a2d689b1b3f47d5fcfc7adade7965 (diff)
downloadperl-ba1485b3aac941801125075387ba52c091447aa2.tar.gz
Don't abort when RCHECK and DEBUGGING
private-msgid: <9701272339.AA16537@toad.ig.co.uk>
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/malloc.c b/malloc.c
index 755fadfdab..b4be0316d2 100644
--- a/malloc.c
+++ b/malloc.c
@@ -498,9 +498,6 @@ free(mp)
#ifdef PACK_MALLOC
bucket = OV_INDEX(op);
#endif
-#ifdef DEBUGGING
- ASSERT(OV_MAGIC(op, bucket) == MAGIC); /* make sure it was in use */
-#else
if (OV_MAGIC(op, bucket) != MAGIC) {
static bad_free_warn = -1;
if (bad_free_warn == -1) {
@@ -517,7 +514,6 @@ free(mp)
#endif
return; /* sanity */
}
-#endif
#ifdef RCHECK
ASSERT(op->ov_rmagic == RMAGIC);
if (OV_INDEX(op) <= MAX_SHORT_BUCKET)