aboutsummaryrefslogtreecommitdiff
path: root/ex.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-01-19 18:16:09 +0000
committerOmar Polo <op@omarpolo.com>2021-01-19 18:16:09 +0000
commit710a71b2bbeae65e6c5e5707962a93cebe48a865 (patch)
treeeb05d57903815ac1f5faef439572b547d3275704 /ex.c
parent6119e13e8aa794988b3875614a0a2c3ce0f07e7b (diff)
don't leak file descriptors
Diffstat (limited to 'ex.c')
-rw-r--r--ex.c1
1 files changed, 1 insertions, 0 deletions
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);