[NTOS:IO]

- Free the correct event pointer when out of memory in IopDeviceFsIoControl

svn path=/trunk/; revision=67491
This commit is contained in:
Thomas Faber 2015-05-01 12:00:50 +00:00
parent bb4b99166e
commit e02846b73f

View file

@ -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;