http://bugs.winehq.org/show_bug.cgi?id=20598
--- Comment #49 from Jeff Zaroyko jeffz@jeffz.name 2010-01-26 16:28:10 --- (In reply to comment #48)
Created an attachment (id=25903)
--> (http://bugs.winehq.org/attachment.cgi?id=25903) [details]
diff
i think this patch is correct. when i quit vc++ the memory shows it being released as it should.
dib.c: In function `SetDIBits': dib.c:349: warning: comparison of distinct pointer types lacks a cast dib.c:368: warning: comparison of distinct pointer types lacks a cast
Look at the warnings generated, you're comparing hdc with CreateCompatibleDC, a function pointer. This doesn't make sense.