Can someone help to clarify the usage of esp_wifi_clear_ap_list?
Posted: Mon Feb 13, 2023 5:08 am
This was asked by https://github.com/espressif/esp-idf/issues/10693 , but no response from espressif developers so far.
Given the fact esp_wifi_clear_ap_list() is not called in any esp-idf examples and components (e.g. wpa_supplicant),
I'm worried that there are memory leaks in current esp-idf versions.
Actually, I'm wondering why adding this esp_wifi_clear_ap_list() function?
Why not just free memory internally in case if obtained ap list fails. Confused.
Given the fact esp_wifi_clear_ap_list() is not called in any esp-idf examples and components (e.g. wpa_supplicant),
I'm worried that there are memory leaks in current esp-idf versions.
Actually, I'm wondering why adding this esp_wifi_clear_ap_list() function?
Why not just free memory internally in case if obtained ap list fails. Confused.