diff --git a/http.c b/http.c index a6bc5b01c2..8971579d9e 100644 --- a/http.c +++ b/http.c @@ -153,6 +153,7 @@ static char *static_callback(struct sockaddr_in *req, const char *uri, struct as goto out403; } } + close(fd); return blob; out404: