Module: wine Branch: master Commit: 9af12506b0395b9d6bc035b31e6a9f8dde451650 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9af12506b0395b9d6bc035b31e...
Author: Dan Kegel dank@kegel.com Date: Sat Jun 9 19:42:13 2012 -0700
ntdll: Avoid clobbering valgrind annotations during HeapReAlloc.
---
dlls/ntdll/heap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/heap.c b/dlls/ntdll/heap.c index 6ca509a..a9044714 100644 --- a/dlls/ntdll/heap.c +++ b/dlls/ntdll/heap.c @@ -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;