mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
Merge branch 'bugfix/sae_commit_queue_full_memory_leak_v5.4' into 'release/v5.4'
fix(wpa_supplicant): fix memory leak on SAE commit queue post failure (Backport v5.4) See merge request espressif/esp-idf!46308
This commit is contained in:
@@ -730,6 +730,8 @@ queued:
|
||||
/* posting event to the task to handle commit */
|
||||
if (wpa3_hostap_post_evt(SIG_WPA3_RX_COMMIT, 0) != 0) {
|
||||
wpa_printf(MSG_ERROR, "failed to queue commit build event");
|
||||
dl_list_del(&q->list);
|
||||
os_free(q);
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user