summaryrefslogtreecommitdiff
path: root/cop.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-09-08 00:52:50 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-09-08 00:52:50 +0000
commit64de36e6ad8b9ebb467d1f68ced94dc464b85104 (patch)
tree0ed02b687302fbe7ee7ebddf3d3c7794d50728b5 /cop.h
parent349fd7b7286e5fa0d4cd22565b1943fa16790eac (diff)
downloadperl-64de36e6ad8b9ebb467d1f68ced94dc464b85104.tar.gz
fix memory leak in C<sub f { @_ = 1 } f() while 1>
p4raw-id: //depot/perl@4102
Diffstat (limited to 'cop.h')
-rw-r--r--cop.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cop.h b/cop.h
index d0a59a0f1f..6ea045a4a4 100644
--- a/cop.h
+++ b/cop.h
@@ -76,6 +76,7 @@ struct block_sub {
/* destroy arg array */ \
av_clear(cxsub.argarray); \
AvREAL_off(cxsub.argarray); \
+ AvREIFY_on(cxsub.argarray); \
} \
if (cxsub.cv) { \
if (!(CvDEPTH(cxsub.cv) = cxsub.olddepth)) \