Merge branch 'bugfix/fix_init_memory_leak_issue' into 'master'

esp_wifi: done beacon monitor timer when call pm deattach

Closes WIFI-4675, WIFI-4676, WIFI-4694, and WIFI-4695

See merge request espressif/esp-idf!19375
This commit is contained in:
Mu Hai Dong
2022-08-16 17:43:17 +08:00
2 changed files with 2 additions and 1 deletions

View File

@@ -366,5 +366,6 @@ void eloop_destroy(void)
eloop_data_lock = NULL;
}
os_timer_disarm(&eloop.eloop_timer);
os_timer_done(&eloop.eloop_timer);
os_memset(&eloop, 0, sizeof(eloop));
}