mirror of
https://github.com/reactos/reactos.git
synced 2025-07-27 20:32:18 +00:00
[NTOS:IO]
- Free the correct event pointer when out of memory in IopDeviceFsIoControl svn path=/trunk/; revision=67491
This commit is contained in:
parent
bb4b99166e
commit
e02846b73f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue