https://bugs.winehq.org/show_bug.cgi?id=36171
Bug ID: 36171 Summary: valgrind shows several leaks in winmm/waveform.c Product: Wine Version: 1.7.17 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: winmm&mci Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
==4477== 6,156 bytes in 342 blocks are definitely lost in loss record 823 of 838 ==4477== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==4477== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==4477== by 0x4FEACEF: WINMM_OpenDevice (waveform.c:1093) ==4477== by 0x4FEB8D0: WOD_Open (waveform.c:1272) ==4477== by 0x4FEF2F1: WINMM_DevicesMsgProc (waveform.c:2409) ==4477== by 0x514943D: ??? (winproc.c:173) ==4477== by 0x51495B2: call_window_proc (winproc.c:244) ==4477== by 0x514B74B: WINPROC_call_window (winproc.c:900) ==4477== by 0x51080F8: call_window_proc (message.c:2223) ==4477== by 0x510A2FC: peek_message (message.c:2953) ==4477== by 0x510BDA2: PeekMessageW (message.c:3757) ==4477== by 0x4FEF773: WINMM_DevicesThreadProc (waveform.c:2503) ==4477== by 0x7BC87017: ??? (signal_i386.c:2571) ==4477== by 0x7BC87060: call_thread_func (signal_i386.c:2630) ==4477== by 0x7BC86FF5: ??? (signal_i386.c:2571) ==4477== by 0x7BC8E43C: start_thread (thread.c:428) ==4477== by 0x4218F92: start_thread (pthread_create.c:309) ==4477== by 0x431D7ED: clone (clone.S:129)
==4477== 240 bytes in 6 blocks are definitely lost in loss record 575 of 838 ==4477== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==4477== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==4477== by 0x5823590: IMalloc_fnAlloc (ifs.c:186) ==4477== by 0x5823EAB: CoTaskMemAlloc (objidl.h:1236) ==4477== by 0x69AE652: AudioClient_GetMixFormat (mmdevdrv.c:1747) ==4477== by 0x6510860: set_format (audioclient.h:330) ==4477== by 0x65109DF: load_driver_devices (devenum.c:464) ==4477== by 0x6512225: MMDevEnum_Create (devenum.c:851) ==4477== by 0x6515445: MMCF_CreateInstance (main.c:252) ==4477== by 0x5804D96: CoCreateInstance (unknwn.h:226) ==4477== by 0x4FE9C53: WINMM_InitMMDevices (waveform.c:843) ==4477== by 0x4FEF50F: WINMM_DevicesThreadProc (waveform.c:2468) ==4477== by 0x7BC87017: ??? (signal_i386.c:2571) ==4477== by 0x7BC87060: call_thread_func (signal_i386.c:2630) ==4477== by 0x7BC86FF5: ??? (signal_i386.c:2571) ==4477== by 0x7BC8E43C: start_thread (thread.c:428) ==4477== by 0x4218F92: start_thread (pthread_create.c:309) ==4477== by 0x431D7ED: clone (clone.S:129) ==4477==