From 710a71b2bbeae65e6c5e5707962a93cebe48a865 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Tue, 19 Jan 2021 18:16:09 +0000 Subject: don't leak file descriptors --- ex.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ex.c') diff --git a/ex.c b/ex.c index c1e1ad9..b9a9f7a 100644 --- a/ex.c +++ b/ex.c @@ -277,6 +277,7 @@ executor_main(int fd) addr, ruser, cissuer, chash, vhost); if (!send_fd(fd, d)) break; + close(d); free(spath); free(relpath); -- cgit v1.2.3