mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp_wifi/supplicant: fix some WiFi stop memory leak
This commit is contained in:
parent
19e840aa53
commit
8cd210b38b
@ -279,8 +279,9 @@ void pmksa_cache_deinit(struct rsn_pmksa_cache *pmksa)
|
||||
os_free(prev);
|
||||
}
|
||||
pmksa_cache_set_expiration(pmksa);
|
||||
os_free(pmksa);
|
||||
esp_timer_stop(pmksa->cache_timeout_timer);
|
||||
esp_timer_delete(pmksa->cache_timeout_timer);
|
||||
os_free(pmksa);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user