[NTOS:CC] Fix a bug

This commit is contained in:
Jérôme Gardou 2021-01-28 15:41:28 +01:00
parent ea354c4bc7
commit 7fbf90d6fd

View file

@ -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;
}
}