mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-18 12:38:02 +00:00
ntdll: Fix wrong marking for valgrind on 64bit systems.
This commit is contained in:
parent
8c2b290d11
commit
10642e76db
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue