https://bugs.winehq.org/show_bug.cgi?id=36262
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Bruno Jesus from comment #1)
Fixed by http://source.winehq.org/git/wine.git/?a=commit; h=1242417d131ae9fafd66ee79e96352a1e0215fc6
I still see: ==515== 76 bytes in 1 blocks are possibly lost in loss record 348 of 665 ==515== at 0x7BC49369: notify_alloc (heap.c:255) ==515== by 0x7BC4D59F: RtlAllocateHeap (heap.c:1716) ==515== by 0x4DEAAB2: create_directinput_instance (dinput_main.c:112) ==515== by 0x4DEAC96: DirectInputCreateEx (dinput_main.c:154) ==515== by 0x4DEAD53: DirectInputCreateA (dinput_main.c:177) ==515== by 0x4CBCAEE: test_DirectInputJoyConfig8 (dinput.c:575) ==515== by 0x4CBCD1F: func_dinput (dinput.c:626) ==515== by 0x4CC244C: run_test (test.h:584) ==515== by 0x4CC2818: main (test.h:654) ==515==
in wine-1.7.22-24-gcf50d5f (though it's very possible that there are multiple issues here). I can open a new bug if you'd like.