https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7fbf90d6fdc6c297bb6b8…
commit 7fbf90d6fdc6c297bb6b8497330a4d692e2ccf1f
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Thu Jan 28 15:41:28 2021 +0100
Commit: Jérôme Gardou <jerome.gardou(a)reactos.org>
CommitDate: Wed Feb 3 09:41:23 2021 +0100
[NTOS:CC] Fix a bug
---
ntoskrnl/cc/pin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ntoskrnl/cc/pin.c b/ntoskrnl/cc/pin.c
index 07bfd63241c..af7b3aa71a8 100644
--- a/ntoskrnl/cc/pin.c
+++ b/ntoskrnl/cc/pin.c
@@ -301,7 +301,7 @@ CcpPinData(
{
CCTRACE(CC_API_DEBUG, "FileObject=%p FileOffset=%p Length=%lu
Flags=0x%lx -> FALSE\n",
SharedCacheMap->FileObject, FileOffset, Length, Flags);
- CcUnpinData(NewBcb);
+ CcUnpinData(&NewBcb->PFCB);
return FALSE;
}
}