projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b89c9e9
)
[NTOS:CC] Fix bug in CcPinRead
author
Hervé Poussineau
<hpoussin@reactos.org>
Sun, 23 Nov 2014 13:48:06 +0000
(13:48 +0000)
committer
Hervé Poussineau
<hpoussin@reactos.org>
Sun, 23 Nov 2014 13:48:06 +0000
(13:48 +0000)
In fact, this bug is never exposed because CcPinMappedData always returns TRUE.
svn path=/trunk/; revision=65453
reactos/ntoskrnl/cc/pin.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/cc/pin.c
b/reactos/ntoskrnl/cc/pin.c
index
9608032
..
1fa81df
100644
(file)
--- a/
reactos/ntoskrnl/cc/pin.c
+++ b/
reactos/ntoskrnl/cc/pin.c
@@
-143,7
+143,7
@@
CcPinRead (
if (CcPinMappedData(FileObject, FileOffset, Length, Flags, Bcb))
return TRUE;
else
- CcUnpinData(Bcb);
+ CcUnpinData(
*
Bcb);
}
return FALSE;
}