Stefan Dösinger wrote:
You'll have to check the code that uses this method. As far as I can see DDrawSurface::GetPalette doesn't release the palette it got from WineD3D, so just changing WineD3D will cause a leak
Yes, that's what Alexander Dorofeyev pointed out, too. So do not apply this patch.