mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-26 08:47:15 +02:00
Fix UDP TX Buffer not set to NULL after free
thans @martinayotte
This commit is contained in:
@ -99,6 +99,7 @@ uint8_t WiFiUDP::beginMulticast(IPAddress a, uint16_t p){
|
|||||||
void WiFiUDP::stop(){
|
void WiFiUDP::stop(){
|
||||||
if(tx_buffer){
|
if(tx_buffer){
|
||||||
delete[] tx_buffer;
|
delete[] tx_buffer;
|
||||||
|
tx_buffer = NULL;
|
||||||
}
|
}
|
||||||
tx_buffer_len = 0;
|
tx_buffer_len = 0;
|
||||||
if(rx_buffer){
|
if(rx_buffer){
|
||||||
|
Reference in New Issue
Block a user