XHCI: calls FreeDescriptor before returning.
introduced in the previous commit.
This commit is contained in:
parent
342c997667
commit
150ce798c2
@ -768,8 +768,8 @@ XHCI::SubmitNormalRequest(Transfer *transfer)
|
||||
descriptor->transfer = transfer;
|
||||
status = _LinkDescriptorForPipe(descriptor, endpoint);
|
||||
if (status != B_OK) {
|
||||
return status;
|
||||
FreeDescriptor(descriptor);
|
||||
return status;
|
||||
}
|
||||
TRACE("SubmitNormalRequest() request linked\n");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user