diff options
-rw-r--r-- | builtin/replace.c | 2 | ||||
-rw-r--r-- | daemon.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/builtin/replace.c b/builtin/replace.c index 8507835d39..eb1d2ec5e5 100644 --- a/builtin/replace.c +++ b/builtin/replace.c @@ -207,8 +207,6 @@ static void export_object(const unsigned char *sha1, const char *filename) if (run_command(&cmd)) die("cat-file reported failure"); - - close(fd); } /* @@ -783,7 +783,6 @@ static void handle(int incoming, struct sockaddr *addr, socklen_t addrlen) logerror("unable to fork"); else add_child(&cld, addr, addrlen); - close(incoming); } static void child_handler(int signo) |