mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
Merge branch 'contrib/github_pr_14859_v5.2' into 'release/v5.2'
fix(usb_host): return ESP_ERR_NO_MEM on failed alloc in client register (GitHub PR) (v5.2) See merge request espressif/esp-idf!34877
This commit is contained in:
commit
1e24d8acac
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user