mirror of
https://github.com/reactos/reactos.git
synced 2025-07-24 17:13:51 +00:00
don't try to free CurrentBuffer when allocation failed
svn path=/trunk/; revision=30617
This commit is contained in:
parent
167bf281dc
commit
b72f3e3943
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ PciIdeXSetBusData(
|
|||
if (!CurrentBuffer)
|
||||
{
|
||||
Status = STATUS_INSUFFICIENT_RESOURCES;
|
||||
goto cleanup;
|
||||
return Status;
|
||||
}
|
||||
|
||||
Status = PciIdeXGetBusData(DeviceExtension, Buffer, ConfigDataOffset, BufferLength);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue