Skip to content

Commit 1a9988e

Browse files
authored
fix memleak (#7203)
1 parent fad0564 commit 1a9988e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/ESP8266WiFi/src/ESP8266WiFiGratuitous.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ bool ESP8266WiFiGratuitous::stationKeepAliveSetIntervalMs (uint32_t ms)
7272
if (_timer)
7373
{
7474
os_timer_disarm(_timer);
75+
free(_timer);
7576
_timer = nullptr;
7677
}
7778

0 commit comments

Comments
 (0)