diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-03-24 19:40:34 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-03-24 19:40:34 +0000 |
commit | fe9745bfc279b016730696fd0a6abca4d493be60 (patch) | |
tree | 6c4b90afafd6e7c4a493ddbc03deb8af26d1a5cf /doio.c | |
parent | b76cc8ba45957a82b545cf2a7b818233e6c0d507 (diff) | |
download | perl-fe9745bfc279b016730696fd0a6abca4d493be60.tar.gz |
Fix un-init variable leading to spurious "Out of Memory!"
p4raw-id: //depot/perlio@9332
Diffstat (limited to 'doio.c')
-rw-r--r-- | doio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -210,7 +210,7 @@ Perl_do_openn(pTHX_ GV *gv, register char *name, I32 len, int as_raw, *tend-- = '\0'; if (num_svs) { /* New style explict name, type is just mode and discipline/layer info */ - STRLEN l; + STRLEN l = 0; name = SvOK(*svp) ? SvPV(*svp, l) : ""; len = (I32)l; name = savepvn(name, len); |