Merge branch 'bugfix/sae_commit_queue_full_memory_leak' into 'master'

fix(wpa_supplicant): fix memory leak on SAE commit queue post failure

See merge request espressif/esp-idf!46293
This commit is contained in:
Jiang Jiang Jian
2026-03-05 19:34:09 +08:00
@@ -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;