mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +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…
Reference in a new issue