mirror of
https://github.com/reactos/reactos.git
synced 2026-06-03 17:59:48 +08:00
[NTOS:CC] CcFlushCache: Call CcRosReleaseVacb when CcRosFlushVacb fails
CcRosLookupVacb adds a refcount.
This commit is contained in:
@@ -1160,6 +1160,7 @@ CcFlushCache (
|
||||
Status = CcRosFlushVacb(vacb, &VacbIosb);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
CcRosReleaseVacb(SharedCacheMap, vacb, FALSE, FALSE);
|
||||
goto quit;
|
||||
}
|
||||
DirtyVacb = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user