mirror of
https://github.com/reactos/reactos.git
synced 2026-07-02 18:34:48 +08:00
[NTOS:IO]
- Free the correct event pointer when out of memory in IopDeviceFsIoControl svn path=/trunk/; revision=67491
This commit is contained in:
@@ -346,7 +346,7 @@ IopDeviceFsIoControl(IN HANDLE DeviceHandle,
|
||||
|
||||
/* Allocate IRP */
|
||||
Irp = IoAllocateIrp(DeviceObject->StackSize, FALSE);
|
||||
if (!Irp) return IopCleanupFailedIrp(FileObject, Event, NULL);
|
||||
if (!Irp) return IopCleanupFailedIrp(FileObject, EventObject, NULL);
|
||||
|
||||
/* Setup the IRP */
|
||||
Irp->UserIosb = IoStatusBlock;
|
||||
|
||||
Reference in New Issue
Block a user