1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-06 05:21:22 +03:00

fix memleak (#7203)

This commit is contained in:
david gauchard 2020-04-09 18:59:12 +02:00 committed by GitHub
parent fad056442d
commit 1a9988ecf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,6 +72,7 @@ bool ESP8266WiFiGratuitous::stationKeepAliveSetIntervalMs (uint32_t ms)
if (_timer)
{
os_timer_disarm(_timer);
free(_timer);
_timer = nullptr;
}