summaryrefslogtreecommitdiff
path: root/av.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-07-13 01:25:07 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-07-13 01:25:07 +0000
commitd40ddcb772f1f922fef72971494d72b2aa452644 (patch)
tree86550314a4762842631adbbdf7c29d3bdc231c3f /av.c
parentac9894142e293753e343e53d92db25b62a6fae3a (diff)
downloadperl-d40ddcb772f1f922fef72971494d72b2aa452644.tar.gz
add a few more PURIFY guards
p4raw-id: //depot/perl@1460
Diffstat (limited to 'av.c')
-rw-r--r--av.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/av.c b/av.c
index 5aac5b1c80..d683df9420 100644
--- a/av.c
+++ b/av.c
@@ -92,7 +92,7 @@ av_extend(AV *av, I32 key)
U32 bytes;
#endif
-#ifdef MYMALLOC
+#if defined(MYMALLOC) && !defined(PURIFY)
newmax = malloced_size((void*)AvALLOC(av))/sizeof(SV*) - 1;
if (key <= newmax)