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 /toke.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 'toke.c')
-rw-r--r-- | toke.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -7039,8 +7039,7 @@ Perl_start_subparse(pTHX_ I32 is_format, U32 flags) SAVEI32(PL_subline); save_item(PL_subname); SAVEI32(PL_padix); - SAVEVPTR(PL_curpad); - SAVESPTR(PL_comppad); + SAVECOMPPAD(); SAVESPTR(PL_comppad_name); SAVESPTR(PL_compcv); SAVEI32(PL_comppad_name_fill); |