mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
Merge branch 'contrib/github_pr_14859_v5.4' into 'release/v5.4'
fix(usb_host): return ESP_ERR_NO_MEM on failed alloc in client register (GitHub PR) (v5.4) See merge request espressif/esp-idf!34875
This commit is contained in:
@@ -818,7 +818,7 @@ alloc_err:
|
||||
vSemaphoreDelete(event_sem);
|
||||
}
|
||||
heap_caps_free(client_obj);
|
||||
return ESP_OK;
|
||||
return ret;
|
||||
}
|
||||
|
||||
esp_err_t usb_host_client_deregister(usb_host_client_handle_t client_hdl)
|
||||
|
Reference in New Issue
Block a user