ntdll: Avoid clobbering valgrind annotations during HeapReAlloc.

This commit is contained in:
Dan Kegel 2012-06-09 19:42:13 -07:00 committed by Alexandre Julliard
parent b17169caa0
commit 9af12506b0
1 changed files with 1 additions and 1 deletions

View File

@ -1892,8 +1892,8 @@ PVOID WINAPI RtlReAllocateHeap( HANDLE heap, ULONG flags, PVOID ptr, SIZE_T size
}
else
{
HEAP_ShrinkBlock( subheap, pArena, rounded_size );
notify_realloc( pArena + 1, oldActualSize, size );
HEAP_ShrinkBlock( subheap, pArena, rounded_size );
}
pArena->unused_bytes = (pArena->size & ARENA_SIZE_MASK) - size;