8000 fix memleak (#7203) · nomis/esp8266-Arduino@1a9988e · GitHub
[go: up one dir, main page]

Skip to content

Commit 1a9988e

Browse files
authored
fix memleak (esp8266#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

Lines changed: 1 addition & 0 deletions
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)
0