mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOS:CC] CcFlushCache: Call CcRosReleaseVacb when CcRosFlushVacb fails
CcRosLookupVacb adds a refcount.
This commit is contained in:
parent
71197535a1
commit
0899f4b2b1
1 changed files with 1 additions and 0 deletions
|
@ -1160,6 +1160,7 @@ CcFlushCache (
|
|||
Status = CcRosFlushVacb(vacb, &VacbIosb);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
CcRosReleaseVacb(SharedCacheMap, vacb, FALSE, FALSE);
|
||||
goto quit;
|
||||
}
|
||||
DirtyVacb = TRUE;
|
||||
|
|
Loading…
Reference in a new issue