projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c3db7d9
)
Fix small leak with -F at interpreter destruction
Rafael Garcia-Suarez [Wed, 25 Oct 2006 16:19:50 +0000 (16:19 +0000)]
p4raw-id: //depot/perl@29108
perl.c
patch
|
blob
|
blame
|
history
diff --git
a/perl.c
b/perl.c
index
7353d32
..
078cf5d
100644
(file)
--- a/
perl.c
+++ b/
perl.c
@@
-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;