projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2972d67
)
[CSQ]
author
Pierre Schweitzer
<pierre@reactos.org>
Sat, 10 Oct 2015 14:01:01 +0000
(14:01 +0000)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sat, 10 Oct 2015 14:01:01 +0000
(14:01 +0000)
Add a sanity check
svn path=/trunk/; revision=69487
reactos/lib/drivers/csq/csq.c
patch
|
blob
|
history
diff --git
a/reactos/lib/drivers/csq/csq.c
b/reactos/lib/drivers/csq/csq.c
index
a8e8d6a
..
b570bcd
100644
(file)
--- a/
reactos/lib/drivers/csq/csq.c
+++ b/
reactos/lib/drivers/csq/csq.c
@@
-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);