http://bugs.winehq.org/show_bug.cgi?id=3542
--- Comment #42 from Henri Verbeet hverbeet@gmail.com 2010-06-25 22:54:46 --- (In reply to comment #41)
You seem to know a bit about how this part of wine works (or is supposed to work). Do you know of a better solution? It'd be nice to squash this one, maybe even for final 1.2. *cross fingers*
The most important part is to get a clear understanding of why the bug happens first. I.e., the patch removes the palette from any surfaces it is attached to when it's destroyed, but that situation isn't supposed to happen. What you want to know is why it's being destroyed while still being attached to a surface.