greybus: endo: fix use-after-free in error path
Fix use-after-free in endo-registration error path by moving the id-release to the device release function. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Showing
Please register or sign in to comment