Skip to content

Commit fa1b4d5

Browse files
ficetoficeto
ficeto
authored and
ficeto
committed
fix huge leak
1 parent f4138d2 commit fa1b4d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware/esp8266com/esp8266/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)