summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/http.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/main/http.c b/main/http.c
index b6b2abe29..6c604f101 100644
--- a/main/http.c
+++ b/main/http.c
@@ -634,9 +634,7 @@ static void *httpd_helper_thread(void *data)
free(title);
done:
- if (ser->f)
- fclose(ser->f);
- close(ser->fd);
+ fclose(ser->f);
free(ser);
return NULL;
}