Ooodles of sexy new valgrind warnings

Dan Kegel dank at kegel.com
Mon May 26 20:58:02 CDT 2008


On Mon, May 26, 2008 at 5:15 PM, Maarten Lankhorst
<m.b.lankhorst at gmail.com> wrote:
>> + Mismatched free() / delete / delete []
>> +    at  RtlFreeHeap (heap.c:1287)
>> +    by  wave_in_test_device (capture.c:397)
> This particular kind of bug happens when you use a string function
> like strdup to allocate some memory, then try to free it with
> HeapFree. The proper fix would be to use HeapAlloc.

Yeah, I just copied what you did with the other one in that DLL the
other day; see
http://www.winehq.org/pipermail/wine-patches/2008-May/055219.html



More information about the wine-devel mailing list