projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d1661e
)
[RXCE]
author
Pierre Schweitzer
<pierre@reactos.org>
Sat, 27 May 2017 17:41:58 +0000
(17:41 +0000)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sat, 27 May 2017 17:41:58 +0000
(17:41 +0000)
Make RxpTrackDereference()/RxpTrackReference() when they're noop.
CORE-11327
svn path=/trunk/; revision=74684
reactos/sdk/lib/drivers/rxce/rxce.c
patch
|
blob
|
history
diff --git
a/reactos/sdk/lib/drivers/rxce/rxce.c
b/reactos/sdk/lib/drivers/rxce/rxce.c
index
d34165a
..
d293719
100644
(file)
--- a/
reactos/sdk/lib/drivers/rxce/rxce.c
+++ b/
reactos/sdk/lib/drivers/rxce/rxce.c
@@
-4611,8
+4611,15
@@
RxpTrackDereference(
_In_ ULONG Line,
_In_ PVOID Instance)
{
+ PAGED_CODE();
+
+ if (!BooleanFlagOn(RdbssReferenceTracingValue, TraceType))
+ {
+ return TRUE;
+ }
+
UNIMPLEMENTED;
- return
FALS
E;
+ return
TRU
E;
}
VOID
@@
-4622,6
+4629,11
@@
RxpTrackReference(
_In_ ULONG Line,
_In_ PVOID Instance)
{
+ if (!BooleanFlagOn(RdbssReferenceTracingValue, TraceType))
+ {
+ return;
+ }
+
UNIMPLEMENTED;
}