summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDon Lewis <truckman@FreeBSD.org>2016-06-01 17:41:00 +0000
committerDon Lewis <truckman@FreeBSD.org>2016-06-01 17:41:00 +0000
commit15fe2c59b0be8500d7a4901ffcc75de6378e1bdb (patch)
treec84d6bef82f79dd15d724a38027231e494c19805
parentafaff5e72c9ecafbad5713be469f8aff02816dd7 (diff)
Notes
-rw-r--r--lib/libcompat/4.3/rexec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libcompat/4.3/rexec.c b/lib/libcompat/4.3/rexec.c
index 4e01eb65904a..3a8b45299867 100644
--- a/lib/libcompat/4.3/rexec.c
+++ b/lib/libcompat/4.3/rexec.c
@@ -330,6 +330,7 @@ retry:
goto retry;
}
perror(hp->h_name);
+ (void) close(s);
return (-1);
}
if (fd2p == 0) {