summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/perl.c b/perl.c
index feb031b7d3..bad66f5e01 100644
--- a/perl.c
+++ b/perl.c
@@ -1347,13 +1347,11 @@ perl_free(pTHXx)
{
# ifdef NETWARE
void *host = nw_internal_host;
-# else
- void *host = w32_internal_host;
-# endif
PerlMem_free(aTHXx);
-# ifdef NETWARE
nw_delete_internal_host(host);
# else
+ void *host = w32_internal_host;
+ PerlMem_free(aTHXx);
win32_delete_internal_host(host);
# endif
}