[PATCH] ntdll: Fix valgrind heap realloc notifications.

Thomas Faller tfaller1 at gmx.de
Sat Nov 28 12:34:09 CST 2015


Valgrind can't handle a realloc, if the new size is zero.
Fix for bug https://bugs.winehq.org/show_bug.cgi?id=37646

Signed-off-by: Thomas Faller <tfaller1 at gmx.de>
---
  dlls/ntdll/heap.c | 35 +++++++++++++++++++++++------------
  1 file changed, 23 insertions(+), 12 deletions(-)




-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ntdll-Fix-valgrind-heap-notifications.txt
Type: text/x-patch
Size: 4071 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20151128/dd5e8698/attachment.bin>


More information about the wine-patches mailing list