[NTOS:CC] Fix bug in CcPinRead

In fact, this bug is never exposed because CcPinMappedData always returns TRUE.

svn path=/trunk/; revision=65453
This commit is contained in:
Hervé Poussineau 2014-11-23 13:48:06 +00:00
parent b89c9e939b
commit bcc95895c6

View file

@ -143,7 +143,7 @@ CcPinRead (
if (CcPinMappedData(FileObject, FileOffset, Length, Flags, Bcb))
return TRUE;
else
CcUnpinData(Bcb);
CcUnpinData(*Bcb);
}
return FALSE;
}