mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[CSQ]
Add a sanity check svn path=/trunk/; revision=69487
This commit is contained in:
@@ -353,8 +353,12 @@ IoCsqRemoveIrp(
|
||||
|
||||
Context = (PIO_CSQ_IRP_CONTEXT)InterlockedExchangePointer(&Irp->Tail.Overlay.DriverContext[3], NULL);
|
||||
|
||||
if(Context && Context->Type == IO_TYPE_CSQ_IRP_CONTEXT)
|
||||
if (Context && Context->Type == IO_TYPE_CSQ_IRP_CONTEXT)
|
||||
{
|
||||
Context->Irp = NULL;
|
||||
|
||||
ASSERT(Context->Csq == Csq);
|
||||
}
|
||||
}
|
||||
while(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user