mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
consequence of ::flush() update: fix potential double free (#3990)
This commit is contained in:
@ -288,6 +288,7 @@ public:
|
||||
data_size -= will_copy;
|
||||
}
|
||||
}
|
||||
if (_tx_buf_head)
|
||||
pbuf_free(_tx_buf_head);
|
||||
_tx_buf_head = 0;
|
||||
_tx_buf_cur = 0;
|
||||
|
Reference in New Issue
Block a user