Page 1 of 1

Can someone help to clarify the usage of esp_wifi_clear_ap_list?

Posted: Mon Feb 13, 2023 5:08 am
by axellin
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.

Re: Can someone help to clarify the usage of esp_wifi_clear_ap_list?

Posted: Tue Feb 28, 2023 2:35 am
by axellin
Can someone from espressif help to clarify this API usage?