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));