projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e3febc
)
Don't abort when RCHECK and DEBUGGING
author
Tim Bunce
<Tim.Bunce@ig.co.uk>
Mon, 27 Jan 1997 23:39:48 +0000
(23:39 +0000)
committer
Chip Salzenberg
<chip@atlantic.net>
Wed, 29 Jan 1997 06:11:00 +0000
(18:11 +1200)
private-msgid: <
9701272339
.
AA16537
@toad.ig.co.uk>
malloc.c
patch
|
blob
|
history
diff --git
a/malloc.c
b/malloc.c
index 755fadfdabd89cea5c7938da1eb162012fc49627..b4be0316d2bfb8a9bea16f7123b3e1db4cadf29b 100644
(file)
--- 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)