ntdll: Fix wrong marking for valgrind on 64bit systems.

This commit is contained in:
Eric Pouech 2010-02-21 15:17:46 +01:00 committed by Alexandre Julliard
parent 8c2b290d11
commit 10642e76db
1 changed files with 1 additions and 1 deletions

View File

@ -596,7 +596,7 @@ static void HEAP_CreateFreeBlock( SUBHEAP *subheap, void *ptr, SIZE_T size )
{
DWORD *pNext = (DWORD *)((char *)ptr + size);
*pNext |= ARENA_FLAG_PREV_FREE;
mark_block_initialized( pNext - 1, sizeof( ARENA_FREE * ) );
mark_block_initialized( (ARENA_FREE **)pNext - 1, sizeof( ARENA_FREE * ) );
*((ARENA_FREE **)pNext - 1) = pFree;
}