projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb4b991
)
[NTOS:IO]
author
Thomas Faber
<thomas.faber@reactos.org>
Fri, 1 May 2015 12:00:50 +0000
(12:00 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Fri, 1 May 2015 12:00:50 +0000
(12:00 +0000)
- Free the correct event pointer when out of memory in IopDeviceFsIoControl
svn path=/trunk/; revision=67491
reactos/ntoskrnl/io/iomgr/iofunc.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/io/iomgr/iofunc.c
b/reactos/ntoskrnl/io/iomgr/iofunc.c
index
ba3ad3d
..
a099503
100644
(file)
--- a/
reactos/ntoskrnl/io/iomgr/iofunc.c
+++ b/
reactos/ntoskrnl/io/iomgr/iofunc.c
@@
-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, Event
Object
, NULL);
/* Setup the IRP */
Irp->UserIosb = IoStatusBlock;