ntdll: add missing valgrind hook in RtlAllocateHeap
Dan Kegel
dank at kegel.com
Wed Apr 15 16:36:34 CDT 2009
Two chromium unit tests reported phony errors
when run on wine on valgrind because
RtlAllocateHeap sometimes returned an
allocation without notifying valgrind about it.
I suppose there might be a better way to do this
(i.e. shouldn't we be notifying valgrind about
NtAllocateVirtualMemory calls?),
but this works for now.
Fixes http://bugs.winehq.org/show_bug.cgi?id=18067
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alloc.patch
Type: text/x-diff
Size: 636 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090415/d943f12d/attachment.patch>
More information about the wine-patches
mailing list