Fix UDP TX Buffer not set to NULL after free

thans @martinayotte
This commit is contained in:
Me No Dev 2017-04-03 20:54:57 +03:00 committed by GitHub
parent ba1efb9897
commit 7e45310771

View File

@ -99,6 +99,7 @@ uint8_t WiFiUDP::beginMulticast(IPAddress a, uint16_t p){
void WiFiUDP::stop(){
if(tx_buffer){
delete[] tx_buffer;
tx_buffer = NULL;
}
tx_buffer_len = 0;
if(rx_buffer){