summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-09-12 20:08:56 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-09-12 20:08:56 +0000
commit7d5ea4e771e13c538d9f0504cb48d13891fcb5c9 (patch)
tree93907373e9324237af6ad6dc9d46db3dd003ca30 /perl.c
parent2b8dc4d2eb8ad36cf53b962575087dfa9dc6d602 (diff)
downloadperl-7d5ea4e771e13c538d9f0504cb48d13891fcb5c9.tar.gz
make sprintf("%g",...) threadsafe; only taint its result iff the
formatted result looks nonstandard p4raw-id: //depot/perl@4130
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index ed88bc3eb4..de91ed456f 100644
--- a/perl.c
+++ b/perl.c
@@ -409,6 +409,11 @@ perl_destruct(pTHXx)
Safefree(PL_screamnext);
PL_screamnext = 0;
+ /* float buffer */
+ Safefree(PL_efloatbuf);
+ PL_efloatbuf = Nullch;
+ PL_efloatsize = 0;
+
/* startup and shutdown function lists */
SvREFCNT_dec(PL_beginav);
SvREFCNT_dec(PL_endav);