Skip to content

Commit b44edf6

Browse files
TingRuazhangfpistm
andauthored
Update EthernetClient.cpp (#94)
Signed-off-by: TingRua zhang <[email protected]> Co-authored-by: Frederic Pillon <[email protected]>
1 parent cc8310f commit b44edf6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/EthernetClient.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ void EthernetClient::stop()
195195
tcp_connection_close(_tcp_client->pcb, _tcp_client);
196196
}
197197
mem_free(_tcp_client);
198+
_tcp_client = NULL;
198199
}
199200

200201
uint8_t EthernetClient::connected()

0 commit comments

Comments
 (0)