summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-29 17:16:09 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-29 17:16:09 +0000
commit4d6cd4d833a6068f248475b5c22081cd80bd7a5e (patch)
tree161c510c4d421a730a8200e9f20f6e771b55ad06 /malloc.c
parent06d860507700419d9cf04cbf3dc2f06c906c546d (diff)
downloadperl-4d6cd4d833a6068f248475b5c22081cd80bd7a5e.tar.gz
malloc "fix" in change#5346 coredumps on HP-UX, revert
p4raw-link: @5346 on //depot/perl: 0f297bd804f61ea0809c358c647840f86e05b2dc p4raw-id: //depot/perl@5360
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/malloc.c b/malloc.c
index 1a048f7c04..f27df883fe 100644
--- a/malloc.c
+++ b/malloc.c
@@ -1752,8 +1752,7 @@ Perl_realloc(void *mp, size_t nbytes)
nmalloc[bucket]--;
nmalloc[pow * BUCKETS_PER_POW2]++;
#endif
- ((union overhead *)(cp - M_OVERHEAD))->ov_index
- = pow * BUCKETS_PER_POW2; /* Fill index. */
+ *(cp - M_OVERHEAD) = pow * BUCKETS_PER_POW2; /* Fill index. */
MALLOC_UNLOCK;
goto inplace_label;
} else {