summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--erts/etc/common/inet_gethost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/common/inet_gethost.c b/erts/etc/common/inet_gethost.c
index 0e4ec402ab..54825219b4 100644
--- a/erts/etc/common/inet_gethost.c
+++ b/erts/etc/common/inet_gethost.c
@@ -1980,10 +1980,10 @@ static int worker_loop(void)
}
close_mesq(readfrom);
close_mesq(writeto);
+#endif
if (reply) {
FREE(reply);
}
-#endif
return 1;
}