CE copy fix deadlock, libu fr/fw fix missing volume_close () on failure, XHCI use ring-specific pending flags, usbdrv Fix spin_unlock/free ordering
This commit is contained in:
@@ -455,8 +455,8 @@ DEFINE_DEVICE_INIT (usbdrv_init) {
|
||||
}
|
||||
|
||||
if (ret < 0) {
|
||||
free (usbdrv);
|
||||
spin_unlock (&usbdrv->xhci->device->lock, fd);
|
||||
free (usbdrv);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -465,8 +465,8 @@ DEFINE_DEVICE_INIT (usbdrv_init) {
|
||||
&usbdrv->sector_count, init->lockflags);
|
||||
|
||||
if (ret < 0) {
|
||||
free (usbdrv);
|
||||
spin_unlock (&usbdrv->xhci->device->lock, fd);
|
||||
free (usbdrv);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user