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.0' into 'release/v5.0'
fix(usb_host): return ESP_ERR_NO_MEM on failed alloc in client register (GitHub PR) (v5.0) See merge request espressif/esp-idf!34955
This commit is contained in:
@@ -691,7 +691,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