Skip to content

Commit

Permalink
Fixing bug that caused large memory consumption
Browse files Browse the repository at this point in the history
Signed-off-by: jeremyB01 <[email protected]>
  • Loading branch information
jeremyB01 authored and fpistm committed Nov 7, 2023
1 parent 60bbf39 commit df78428
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/EthernetClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ void EthernetClient::stop()
if (status() != TCP_CLOSING) {
tcp_connection_close(_tcp_client->pcb, _tcp_client);
}
mem_free(_tcp_client);
}

uint8_t EthernetClient::connected()
Expand Down

0 comments on commit df78428

Please sign in to comment.