winmm: Use HeapAlloc in the capture test instead of using strdup.
dank at kegel.com
Mon May 26 12:12:46 CDT 2008
Just like Maarten's patch in the wave test.
Fixes the valgrind error
Mismatched free() / delete / delete 
at RtlFreeHeap (heap.c:1287)
by wave_in_test_device (capture.c:397)
Address 0x440cc90 is 0 bytes inside a block of size 14 alloc'd
at malloc (vg_replace_malloc.c:207)
by wave_in_test_device (capture.c:388)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 572 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080526/eada3cfb/attachment.patch
More information about the wine-patches