http://bugs.winehq.org/show_bug.cgi?id=8066
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #12846|0 |1 is obsolete| |
--- Comment #13 from Nikolay Sivov bunglehead@gmail.com 2008-05-09 16:59:04 --- Created an attachment (id=12848) --> (http://bugs.winehq.org/attachment.cgi?id=12848) patch + test
I've tested this case on Windows using MSVS debugger and have found that CreateDIBSection call reset <bits> pointer to NULL on error (accordingly to MSDN), so I added this behaviour too.