https://bugs.winehq.org/show_bug.cgi?id=36061
--- Comment #4 from Austin English austinenglish@gmail.com --- I can also reproduce it with comdlg32/tests/filedlg.c, which may be easier for debugging: ==30451== 152 bytes in 1 blocks are definitely lost in loss record 734 of 1,115 ==30451== at 0x7BC4C735: notify_alloc (heap.c:255) ==30451== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716) ==30451== by 0x7B84586B: HeapAlloc (heap.c:271) ==30451== by 0x7B845BA0: GlobalAlloc (heap.c:388) ==30451== by 0x78E11A6: ImmCreateIMCC (imm.c:2738) ==30451== by 0x78DA9B6: ImmCreateContext (imm.c:682) ==30451== by 0x78DCF93: ImmGetContext (imm.c:1422) ==30451== by 0x78E1807: ImmProcessKey (imm.c:2891) ==30451== by 0x535EB24: process_keyboard_message (message.c:2469) ==30451== by 0x535F304: process_hardware_message (message.c:2692) ==30451== by 0x535FFBD: peek_message (message.c:2900) ==30451== by 0x5361E3A: PeekMessageW (message.c:3757) ==30451== by 0x531ED24: DIALOG_DoDialogBox (dialog.c:803) ==30451== by 0x531F0DB: DialogBoxIndirectParamAorW (dialog.c:892) ==30451== by 0x531F133: DialogBoxIndirectParamA (dialog.c:902) ==30451== by 0x5E0D4B0: GetFileName95 (filedlg.c:324) ==30451== by 0x5E0D9F8: GetFileDialog95A (filedlg.c:457) ==30451== by 0x5E17262: GetOpenFileNameA (filedlg.c:4102) ==30451== by 0x49578FF: test_resize (filedlg.c:551) ==30451== by 0x495A1C2: func_filedlg (filedlg.c:1247) ==30451==