Skip to content

Commit

Permalink
fix memleak (#7203)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-a-v authored Apr 9, 2020
1 parent fad0564 commit 1a9988e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/ESP8266WiFi/src/ESP8266WiFiGratuitous.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ bool ESP8266WiFiGratuitous::stationKeepAliveSetIntervalMs (uint32_t ms)
if (_timer)
{
os_timer_disarm(_timer);
free(_timer);
_timer = nullptr;
}

Expand Down

0 comments on commit 1a9988e

Please sign in to comment.