mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 14:42:11 +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)
|
if (!CurrentBuffer)
|
||||||
{
|
{
|
||||||
Status = STATUS_INSUFFICIENT_RESOURCES;
|
Status = STATUS_INSUFFICIENT_RESOURCES;
|
||||||
goto cleanup;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
Status = PciIdeXGetBusData(DeviceExtension, Buffer, ConfigDataOffset, BufferLength);
|
Status = PciIdeXGetBusData(DeviceExtension, Buffer, ConfigDataOffset, BufferLength);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue