mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 01:42:30 +00:00
[NTOSKRNL] Reference the file object before issuing the unlock all IRP
This fixes the last kmode assert triggered by httpd on ReactOS. CORE-12045
This commit is contained in:
parent
f155de483f
commit
207ff9444e
|
@ -1985,6 +1985,7 @@ IopCloseFile(IN PEPROCESS Process OPTIONAL,
|
|||
Irp->RequestorMode = KernelMode;
|
||||
Irp->Flags = IRP_SYNCHRONOUS_API;
|
||||
Irp->Overlay.AsynchronousParameters.UserApcRoutine = NULL;
|
||||
ObReferenceObject(FileObject);
|
||||
|
||||
/* Set up Stack Pointer Data */
|
||||
StackPtr = IoGetNextIrpStackLocation(Irp);
|
||||
|
|
Loading…
Reference in a new issue