From d41cebfee65843d69480bc0941c28f50d04d5402 Mon Sep 17 00:00:00 2001 From: anschrammh Date: Wed, 16 Oct 2019 19:21:53 +0200 Subject: [PATCH] Removed useless file close statement --- src/app/WEBServer.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/app/WEBServer.h b/src/app/WEBServer.h index 453f230..f47fdc9 100644 --- a/src/app/WEBServer.h +++ b/src/app/WEBServer.h @@ -354,8 +354,6 @@ class WEBServer : public TCPServer //If we couldn't open the file if(!pageToSend) { - pageToSend.close(); - char *response(NULL); response = (char *) malloc(sizeof(char) * (strlen_P((PGM_P)F("Resource : not found on this server")) + strlen(client->_httpRequestData.httpResource) + 1));