winmm: fix uninitialized variable that caused near-infinite loop

Dan Kegel dank at kegel.com
Wed Oct 24 12:56:54 CDT 2007


Without this patch, winmm/tests/mixer.c appears to hang on one of my machines.

I think the problem was capsA was uninitialized in:
         for (d=0;d<capsA.cDestinations;d++) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmm.patch
Type: text/x-patch
Size: 3106 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071024/0ce8520a/attachment.bin 


More information about the wine-patches mailing list