mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 23:48:12 +00:00
- Fix leaking an entry in some cases during ObpFreeCapturedAttributes call. For more details: http://www.reactos.org/forum/viewtopic.php?t=5311.
svn path=/trunk/; revision=32521
This commit is contained in:
parent
ed6ebdede8
commit
3de0480cae
1 changed files with 6 additions and 0 deletions
|
@ -290,6 +290,12 @@ ObpFreeCapturedAttributes(IN PVOID Buffer,
|
||||||
List->L.FreeMisses++;
|
List->L.FreeMisses++;
|
||||||
List->L.Free(Buffer);
|
List->L.Free(Buffer);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
/* The free was within the Depth */
|
||||||
|
InterlockedPushEntrySList(&List->L.ListHead,
|
||||||
|
(PSINGLE_LIST_ENTRY)Buffer);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue