Fix the "PerlIO require leak". Snag was that clean_objs
authorNick Ing-Simmons <nik@tiuk.ti.com>
Thu, 2 May 2002 07:54:51 +0000 (07:54 +0000)
committerNick Ing-Simmons <nik@tiuk.ti.com>
Thu, 2 May 2002 07:54:51 +0000 (07:54 +0000)
commit9f4bd2225c152364d8589911c4c769edae165d9b
tree932744a8029e74125b8b27debc9855b07a16f046
parent484370fa5498d4af5d0f5c36769063bfd9f326dc
Fix the "PerlIO require leak". Snag was that clean_objs
autoloaded DESTROY (needing IO) after known layers had
been freed. Postpone layer list free to PerlIO_cleanup,
rather than PerlIO_destruct. Tweak sequence in perl_destruct
so that sv_undef is immortal till layer list is done with it.

p4raw-id: //depot/perlio@16335
perl.c
perlio.c