diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-10-25 16:19:50 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-10-25 16:19:50 +0000 |
commit | 84386e14e5a1a25955637097f35813958ed6f356 (patch) | |
tree | 81903b87ae2d7d147ae405b1f980000d74af26f1 /perl.c | |
parent | c3db7d9213b09a5852dab00368488f63a7625b9e (diff) | |
download | perl-84386e14e5a1a25955637097f35813958ed6f356.tar.gz |
Fix small leak with -F at interpreter destruction
p4raw-id: //depot/perl@29108
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -881,6 +881,11 @@ perl_destruct(pTHXx) SvREFCNT_dec(PL_rsfp_filters); PL_rsfp_filters = NULL; + if (PL_minus_F) { + Safefree(PL_splitstr); + PL_splitstr = NULL; + } + /* switches */ PL_preprocess = FALSE; PL_minus_n = FALSE; |