diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-10-06 16:32:36 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-10-06 16:32:36 +0000 |
commit | c4db126b6e2732a51225d9d720364b1178c8ec7b (patch) | |
tree | 8090bf2fa59b5264c7ce9b9da657f81e7ed8cee5 | |
parent | b9d78af1544ae2bf4b441bf0516a564fbbd2517f (diff) | |
download | perl-c4db126b6e2732a51225d9d720364b1178c8ec7b.tar.gz |
The scratch scalar used in -d processing for : and = options would leak
as it was never freed.
p4raw-id: //depot/perl@32052
-rw-r--r-- | perl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3041,6 +3041,7 @@ Perl_moreswitches(pTHX_ char *s) } s += strlen(s); my_setenv("PERL5DB", SvPV_nolen_const(sv)); + SvREFCNT_dec(sv); } if (!PL_perldb) { PL_perldb = PERLDB_ALL; |