summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-04 04:45:13 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-04 04:45:13 +0000
commit354992b151c6d0f4f02b9e65e8ba749a959e700d (patch)
tree128289cffb439d7ecf6f963c11291dd4447397d7 /op.c
parente194c14e895d209252cde093bbc79234adb5b8de (diff)
downloadperl-354992b151c6d0f4f02b9e65e8ba749a959e700d.tar.gz
fix pad_alloc panic from C<my $w; sub { my($i) = @_; sub { $w } }>
p4raw-id: //depot/perl@4970
Diffstat (limited to 'op.c')
-rw-r--r--op.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/op.c b/op.c
index 953ee1c42c..456d786b6a 100644
--- a/op.c
+++ b/op.c
@@ -4084,8 +4084,7 @@ S_cv_clone2(pTHX_ CV *proto, CV *outside)
assert(!CvUNIQUE(proto));
ENTER;
- SAVEVPTR(PL_curpad);
- SAVESPTR(PL_comppad);
+ SAVECOMPPAD();
SAVESPTR(PL_comppad_name);
SAVESPTR(PL_compcv);