diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-11-08 04:17:28 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-11-08 04:17:28 +0000 |
commit | 7a1c55545340734b4c7e5b94b34d2b199bf3e739 (patch) | |
tree | 842042c430b9727b3754f54148a84ce9b1a196b1 /perl.c | |
parent | 009c130fc3ba16de26baf9bc4a9290f046a90258 (diff) | |
download | perl-7a1c55545340734b4c7e5b94b34d2b199bf3e739.tar.gz |
tweak change#4502
p4raw-link: @4502 on //depot/perl: 18708f5a7334d978ddf7562cb7f58e28bec6e4ed
p4raw-id: //depot/perl@4535
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -454,6 +454,8 @@ perl_destruct(pTHXx) /* reset so print() ends up where we expect */ setdefout(Nullgv); + SvREFCNT_dec(PL_argvout_stack); + PL_argvout_stack = Nullav; /* Prepare to destruct main symbol table. */ @@ -2771,7 +2773,6 @@ S_init_postdump_symbols(pTHX_ register int argc, register char **argv, register for (; argc > 0; argc--,argv++) { av_push(GvAVn(PL_argvgv),newSVpv(argv[0],0)); } - PL_argvout_stack = newAV(); } if (PL_envgv = gv_fetchpv("ENV",TRUE, SVt_PVHV)) { HV *hv; |