http://bugs.winehq.org/show_bug.cgi?id=26131
--- Comment #2 from Austin English austinenglish@gmail.com 2012-09-17 14:25:15 CDT --- There's still a couple problems in wine-1.5.13-63-gcaf6fe0 / valgrind 3.7.0:
==29342== Invalid free() / delete / delete[] / realloc() ==29342== at 0x7BC4BB9A: RtlReAllocateHeap (heap.c:269) ==29342== by 0x51C2C95: DirectSoundDevice_RemoveBuffer (dsound.c:1106) ==29342== by 0x51BA925: secondarybuffer_destroy (buffer.c:975) ==29342== by 0x51BACAB: IDirectSoundBufferImpl_Release (buffer.c:342) ==29342== by 0x4906843: func_duplex (duplex.c:329) ==29342== by 0x48ED376: main (test.h:557) ==29342== Address 0x7f06c6e8 is 0 bytes inside a block of size 4 alloc'd ==29342== at 0x7BC4AF30: RtlAllocateHeap (heap.c:254) ==29342== by 0x51C2BA1: DirectSoundDevice_AddBuffer (dsound.c:1066) ==29342== by 0x51BA6A6: IDirectSoundBufferImpl_Create (buffer.c:952) ==29342== by 0x51C21CB: DirectSoundDevice_CreateSoundBuffer (dsound.c:997) ==29342== by 0x51C277F: IDirectSound8Impl_CreateSoundBuffer (dsound.c:242) ==29342== by 0x51C61FF: IDirectSoundFullDuplexImpl_Initialize (duplex.c:216) ==29342== by 0x490633B: func_duplex (duplex.c:286) ==29342== by 0x48ED376: main (test.h:557) ==29342==
==29342== Invalid free() / delete / delete[] / realloc() ==29342== at 0x7BC4BB9A: RtlReAllocateHeap (heap.c:269) ==29342== by 0x51C2C95: DirectSoundDevice_RemoveBuffer (dsound.c:1106) ==29342== by 0x51BA925: secondarybuffer_destroy (buffer.c:975) ==29342== by 0x51C08B3: DirectSoundDevice_Release (dsound.c:670) ==29342== by 0x51C0B07: directsound_destroy (dsound.c:123) ==29342== by 0x51C0CBE: IUnknownImpl_Release (dsound.c:183) ==29342== by 0x51C5904: fullduplex_destroy (duplex.c:60) ==29342== by 0x51C5A4E: IDirectSoundFullDuplexImpl_Release (duplex.c:175) ==29342== by 0x4905C2C: IDirectSoundFullDuplex_test.isra.0 (duplex.c:101) ==29342== by 0x4906C05: func_duplex (duplex.c:190) ==29342== by 0x48ED376: main (test.h:557) ==29342== Address 0x7f004148 is 8 bytes inside a block of size 355 free'd ==29342== at 0x7BC4A514: RtlFreeHeap (heap.c:1764) ==29342== by 0x7BC3DD9F: wine_nt_to_unix_file_name (directory.c:3002) ==29342== by 0x7BC3E661: nt_to_unix_file_name_attr (directory.c:2831) ==29342== by 0x7BC41B11: FILE_CreateFile (file.c:122) ==29342== by 0x7BC42043: NtOpenFile (file.c:235) ==29342== by 0x7BC294E5: open_nt_file (actctx.c:1601) ==29342== by 0x7BC30D4C: get_manifest_in_associated_manifest.constprop.9 (actctx.c:1811) ==29342== by 0x7BC32302: RtlCreateActivationContext (actctx.c:2310) ==29342== by 0x7BC325EE: actctx_init (actctx.c:2223) ==29342== by 0x7BC53C5B: LdrInitializeThunk (loader.c:2697) ==29342== by 0x7B863B07: __wine_kernel_init (process.c:1255) ==29342== by 0x7BC544D2: __wine_process_init (loader.c:2918) ==29342== by 0x40370C1: wine_init (loader.c:831) ==29342== by 0x7BF00EBA: main (main.c:230) ==29342==