Re: Memory Leak in ESP8266WebServer
Posted: Sun May 10, 2015 1:20 pm
In clientcontext.h I changed line 70 and following (the following if ()... is now useless, but for a test.) to:
err = tcp_close(_pcb);
tcp_abort(_pcb);
if(err != ERR_OK) {
This fixes the "memory leak" and does not seem to harm the Webserver example.
err = tcp_close(_pcb);
tcp_abort(_pcb);
if(err != ERR_OK) {
This fixes the "memory leak" and does not seem to harm the Webserver example.