mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:53:07 +00:00
- IopCompleteRequest: Remove the hack related to Irp->UserEvent, fixed by 36047
svn path=/trunk/; revision=36251
This commit is contained in:
parent
2d4aadb83f
commit
af0b1eb575
1 changed files with 0 additions and 8 deletions
|
@ -346,16 +346,8 @@ IopCompleteRequest(IN PKAPC Apc,
|
||||||
/* Check if this is an Asynch API */
|
/* Check if this is an Asynch API */
|
||||||
if (!(Irp->Flags & IRP_SYNCHRONOUS_API))
|
if (!(Irp->Flags & IRP_SYNCHRONOUS_API))
|
||||||
{
|
{
|
||||||
/* HACK */
|
|
||||||
if (*((PULONG)(Irp->UserEvent) - 1) != 0x87878787)
|
|
||||||
{
|
|
||||||
/* Dereference the event */
|
/* Dereference the event */
|
||||||
ObDereferenceObject(Irp->UserEvent);
|
ObDereferenceObject(Irp->UserEvent);
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
DPRINT1("Not an executive event -- should not be dereferenced\n");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue