wined3d: Increment reference count before returning palette

Cihan Altinay bobbyg at gmx.net
Sun Mar 16 13:57:06 CDT 2008


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.



More information about the wine-devel mailing list