Added missing return in HEAP_ValidateInUseArena.

This commit is contained in:
Dmitry Timoshkov 2003-05-12 03:32:07 +00:00 committed by Alexandre Julliard
parent 0bfa31ee6f
commit 7baa67cbcb
1 changed files with 1 additions and 0 deletions

View File

@ -858,6 +858,7 @@ static BOOL HEAP_ValidateInUseArena( SUBHEAP *subheap, ARENA_INUSE *pArena, BOOL
{ {
ERR("Heap %08lx: bad flags %lx for in-use arena %08lx\n", ERR("Heap %08lx: bad flags %lx for in-use arena %08lx\n",
(DWORD)subheap->heap, pArena->size & ~ARENA_SIZE_MASK, (DWORD)pArena ); (DWORD)subheap->heap, pArena->size & ~ARENA_SIZE_MASK, (DWORD)pArena );
return FALSE;
} }
/* Check arena size */ /* Check arena size */
if ((char *)(pArena + 1) + (pArena->size & ARENA_SIZE_MASK) > heapEnd) if ((char *)(pArena + 1) + (pArena->size & ARENA_SIZE_MASK) > heapEnd)