Skip to content

Commit

Permalink
Update ESPUI.cpp
Browse files Browse the repository at this point in the history
Captive Portal memory leak (~2KB) fix
  • Loading branch information
telesyst authored Aug 31, 2024
1 parent 356d5b1 commit 25250dd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ESPUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,6 @@ void ESPUIClass::begin(const char* _title, const char* username, const char* pas
responseText += ("</body></html><head><meta http-equiv=\"Refresh\" content=\"0; URL='http://" + WiFi.softAPIP().toString() + "'\" /></head>");
response->write(responseText.c_str(), responseText.length());
request->send(response);
request->redirect("/");
}
else
{
Expand Down

0 comments on commit 25250dd

Please sign in to comment.