summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-01-06 14:36:01 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-01-06 14:36:01 +0000
commitba2475127660598ffe45c99cc6ca9e93a5ca847c (patch)
treeab77d6381943e3957d8d302f4ded107a8186e4f7 /perl.c
parent1fcbde2c69ce24893674ad45f57c6b0bb240f083 (diff)
downloadperl-ba2475127660598ffe45c99cc6ca9e93a5ca847c.tar.gz
Fixup accumulated integrate muddles (perlio == devperl again)
p4raw-id: //depot/perlio@8346
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/perl.c b/perl.c
index 9f197cb4f2..4911e79f3e 100644
--- a/perl.c
+++ b/perl.c
@@ -788,12 +788,13 @@ perl_free(pTHXx)
# if defined(WIN32)
# if defined(PERL_IMPLICIT_SYS)
void *host = w32_internal_host;
- if (PerlProc_lasthost())
- PerlIO_cleanup();
+ if (PerlProc_lasthost()) {
+ PerlIO_cleanup();
+ }
PerlMem_free(aTHXx);
win32_delete_internal_host(host);
#else
- PerlIO_cleanup();
+ PerlIO_cleanup();
PerlMem_free(aTHXx);
#endif
# else