http://bugs.winehq.org/show_bug.cgi?id=3542
--- Comment #39 from Henri Verbeet hverbeet@gmail.com 2010-06-01 10:19:10 --- I have some doubt (In reply to comment #38)
Created an attachment (id=28316)
--> (http://bugs.winehq.org/attachment.cgi?id=28316) [details] [details]
Patch for removing palette from a surface before releasing it
Good job Benjamin, it works also for me. Henri/Roderick/Stefan is this patch OK for you?
I have some doubts about that patch. The surface is supposed to keep a reference to the palette, so the situation where the palette is destroyed before the surface is released isn't supposed to happen.