Commit 9af12506 authored by Dan Kegel's avatar Dan Kegel Committed by Alexandre Julliard

ntdll: Avoid clobbering valgrind annotations during HeapReAlloc.

parent b17169ca
...@@ -1892,8 +1892,8 @@ PVOID WINAPI RtlReAllocateHeap( HANDLE heap, ULONG flags, PVOID ptr, SIZE_T size ...@@ -1892,8 +1892,8 @@ PVOID WINAPI RtlReAllocateHeap( HANDLE heap, ULONG flags, PVOID ptr, SIZE_T size
} }
else else
{ {
HEAP_ShrinkBlock( subheap, pArena, rounded_size );
notify_realloc( pArena + 1, oldActualSize, size ); notify_realloc( pArena + 1, oldActualSize, size );
HEAP_ShrinkBlock( subheap, pArena, rounded_size );
} }
pArena->unused_bytes = (pArena->size & ARENA_SIZE_MASK) - size; pArena->unused_bytes = (pArena->size & ARENA_SIZE_MASK) - size;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment