Author: tfaber Date: Fri May 1 12:00:50 2015 New Revision: 67491
URL: http://svn.reactos.org/svn/reactos?rev=67491&view=rev Log: [NTOS:IO] - Free the correct event pointer when out of memory in IopDeviceFsIoControl
Modified: trunk/reactos/ntoskrnl/io/iomgr/iofunc.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/iofunc.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/iofunc.c?... ============================================================================== --- trunk/reactos/ntoskrnl/io/iomgr/iofunc.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/io/iomgr/iofunc.c [iso-8859-1] Fri May 1 12:00:50 2015 @@ -346,7 +346,7 @@
/* 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;