Re: wined3d: Increment reference count before returning palette

2008-03-16 Thread Cihan Altinay
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 p

Re: wined3d: Increment reference count before returning palette

2008-03-16 Thread Stefan Dösinger
Am Sonntag, 16. März 2008 17:49:38 schrieb Cihan Altinay: > Cheers, > Cihan 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