http://bugs.winehq.org/show_bug.cgi?id=12979
--- Comment #4 from Olivier Samyn olivier-ml1@oleastre.be 2008-05-06 18:14:53 --- Created an attachment (id=12784) --> (http://bugs.winehq.org/attachment.cgi?id=12784) Small patch adding a null test
Patch copy paste in comments are always bad.
So here is the correct patch version as an attachment.