mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
don't try to free CurrentBuffer when allocation failed
svn path=/trunk/; revision=30617
This commit is contained in:
@@ -140,7 +140,7 @@ PciIdeXSetBusData(
|
||||
if (!CurrentBuffer)
|
||||
{
|
||||
Status = STATUS_INSUFFICIENT_RESOURCES;
|
||||
goto cleanup;
|
||||
return Status;
|
||||
}
|
||||
|
||||
Status = PciIdeXGetBusData(DeviceExtension, Buffer, ConfigDataOffset, BufferLength);
|
||||
|
||||
Reference in New Issue
Block a user