diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-09-08 00:53:50 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-09-08 00:53:50 +0000 |
commit | abff13bb6f4392604279f83cbed17a9d16ae2d8f (patch) | |
tree | 796d5e5f2d11201f680a3900cf954486522b3709 /pp.c | |
parent | 64de36e6ad8b9ebb467d1f68ced94dc464b85104 (diff) | |
download | perl-abff13bb6f4392604279f83cbed17a9d16ae2d8f.tar.gz |
fix memory leak in C<sub f { split ' ', "a b" } f() while 1>
p4raw-id: //depot/perl@4103
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4870,6 +4870,7 @@ PP(pp_split) else { if (!AvREAL(ary)) { AvREAL_on(ary); + AvREIFY_off(ary); for (i = AvFILLp(ary); i >= 0; i--) AvARRAY(ary)[i] = &PL_sv_undef; /* don't free mere refs */ } |