winealsa.drv: mixer.c: Initialize a variable in MIX_close [try 2]
Zac Brown
zac at zacbrown.org
Wed Jun 25 11:57:14 CDT 2008
Initialize a variable in MIX_close.
Fixes valgrind bugs like:
Syscall param write(buf) points to uninitialised byte(s)
...
by MMDRV_Close (lolvldrv.c:352)
by mixerClose (winmm.c:401)
by mixer_test_deviceA (mixer.c:551)
by mixer_testsA (mixer.c:986)
...
Address 0x7f21fa40 is on thread 1's stack
Uninitialised value was created by a stack allocation
at MIX_Close (mixer.c:764)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winealsa-init-variable.patch
Type: text/x-patch
Size: 527 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080625/b9c948b2/attachment.bin
More information about the wine-patches
mailing list