winex11.drv: Fix uninitialised values. (valgrind) (try 2)

Michael Stefaniuc mstefani at
Tue Aug 10 05:19:22 CDT 2010

Hello Austin,

Austin Lund wrote:
> On 10 August 2010 18:05, Michael Stefaniuc <mstefani at> wrote:
>> Hello Austin,
>> Austin Lund wrote:
>>> ------------------------------------------------------------------------
>> both functions are heavily used and you don't want to waste time
>> HEAP_ZERO_MEMORY just to please valgrind. I even wonder why valgrind
>> complains as e.g. in X11DRV_SetBitmapBits() only the default switch case
>> won't initialize the memory at all.

> Thanks for the comment.  I ran winemine in valgrind to get this.
> Somehow that must trigger the default case.
no, you would see a FIXME in that case.
I wonder if Dan Kegel might know more on why valgrind triggers in that case.


More information about the wine-devel mailing list