winmm: Fix incorrect memory useage (Valgind w/ MIDI tests).

Joerg-Cyril.Hoehle at Joerg-Cyril.Hoehle at
Thu Feb 11 02:47:32 CST 2010

Dan Kegel kindly sent me the latest Valgrind report.

Valgrind proved that lp->hThread is not yet set in the new thread,
causing the player not to start in paused mode, as SuspendThread
failed (silently).

Now it works, and I enabled one more test.

 Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 04-winmm-Fix-incorrect-memory-useage-Valgind-w-MIDI.patch
Type: application/text
Size: 2011 bytes
Desc: 04-winmm-Fix-incorrect-memory-useage-Valgind-w-MIDI.patch
URL: <>

More information about the wine-patches mailing list