Skip to content

Commit 7e0a104

Browse files
ficetoficeto
ficeto
authored and
ficeto
committed
fix huge leak
1 parent a924ba1 commit 7e0a104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP8266WebServer/src/ESP8266WebServer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ void ESP8266WebServer::_parseForm(WiFiClient& client, String boundary, uint32_t
520520
arg.value = postArgs[iarg].value;
521521
}
522522
_currentArgCount = iarg;
523-
523+
if (postArgs) delete[] postArgs;
524524
}
525525
}
526526

0 commit comments

Comments
 (0)