https://bugs.winehq.org/show_bug.cgi?id=36171
--- Comment #2 from Austin English austinenglish@gmail.com --- And a few potential leaks as well:
==6840== 12 bytes in 1 blocks are possibly lost in loss record 75 of 837 ==6840== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==6840== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==6840== by 0x64E35C0: MMDevEnum_RegisterEndpointNotificationCallback (devenum.c:1207) ==6840== by 0x4FB9C8A: WINMM_InitMMDevices (mmdeviceapi.h:757) ==6840== by 0x4FBF50F: WINMM_DevicesThreadProc (waveform.c:2468) ==6840== by 0x7BC87017: ??? (signal_i386.c:2571) ==6840== by 0x7BC87060: call_thread_func (signal_i386.c:2630) ==6840== by 0x7BC86FF5: ??? (signal_i386.c:2571) ==6840== by 0x7BC8E43C: start_thread (thread.c:428) ==6840== by 0x4218F92: start_thread (pthread_create.c:309) ==6840== by 0x431D7ED: clone (clone.S:129) ==6840==
==6840== 76 bytes in 1 blocks are possibly lost in loss record 423 of 837 ==6840== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==6840== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==6840== by 0x697BD88: create_session (mmdevdrv.c:1038) ==6840== by 0x697BF3E: get_audio_session (mmdevdrv.c:1086) ==6840== by 0x697D737: AudioClient_Initialize (mmdevdrv.c:1460) ==6840== by 0x4FBB13F: WINMM_OpenDevice (audioclient.h:315) ==6840== by 0x4FBB8D0: WOD_Open (waveform.c:1272) ==6840== by 0x4FBF2F1: WINMM_DevicesMsgProc (waveform.c:2409) ==6840== by 0x511943D: ??? (winproc.c:173) ==6840== by 0x51195B2: call_window_proc (winproc.c:244) ==6840== by 0x511B74B: WINPROC_call_window (winproc.c:900) ==6840== by 0x50D80F8: call_window_proc (message.c:2223) ==6840== by 0x50DA2FC: peek_message (message.c:2953) ==6840== by 0x50DBDA2: PeekMessageW (message.c:3757) ==6840== by 0x4FBF773: WINMM_DevicesThreadProc (waveform.c:2503) ==6840== by 0x7BC87017: ??? (signal_i386.c:2571) ==6840== by 0x7BC87060: call_thread_func (signal_i386.c:2630) ==6840== by 0x7BC86FF5: ??? (signal_i386.c:2571) ==6840== by 0x7BC8E43C: start_thread (thread.c:428) ==6840== by 0x4218F92: start_thread (pthread_create.c:309) ==6840==
==6840== 44,101 bytes in 1 blocks are possibly lost in loss record 836 of 837 ==6840== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==6840== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==6840== by 0x4E714B7: test_fragmentsize (wave.c:1560) ==6840== by 0x4E71868: func_wave (wave.c:1602) ==6840== by 0x4E7265B: run_test (test.h:584) ==6840== by 0x4E72A4A: main (test.h:654) ==6840==