diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-04 04:45:13 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-04 04:45:13 +0000 |
commit | 354992b151c6d0f4f02b9e65e8ba749a959e700d (patch) | |
tree | 128289cffb439d7ecf6f963c11291dd4447397d7 /op.c | |
parent | e194c14e895d209252cde093bbc79234adb5b8de (diff) | |
download | perl-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |