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

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
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.

Regards,
 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: <http://www.winehq.org/pipermail/wine-patches/attachments/20100211/73916c09/attachment.bin>


More information about the wine-patches mailing list