mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
- Fix a bug.
svn path=/trunk/; revision=31019
This commit is contained in:
parent
79e182b387
commit
99d3788d8b
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ CmpFreeKeyControlBlock(IN PCM_KEY_CONTROL_BLOCK Kcb)
|
|||
if (++AllocPage->FreeCount == CM_KCBS_PER_PAGE)
|
||||
{
|
||||
/* Loop all the entries */
|
||||
for (i = CM_KCBS_PER_PAGE; i; i--)
|
||||
for (i = CM_KCBS_PER_PAGE - 1; i; i--)
|
||||
{
|
||||
/* Get the KCB */
|
||||
Kcb = (PVOID)((ULONG_PTR)AllocPage +
|
||||
|
|
Loading…
Reference in a new issue