ddraw: Fix refcounting of palettes

bobbyg at gmx.net bobbyg at gmx.net
Sun Mar 16 08:44:37 CDT 2008

This fixes a crash in a game called "Autobahnverfolgungsjagd Total"
(not in AppDB).

While tracing this bug I noticed that
IWineD3DBaseSurfaceImpl_GetPalette() does not call AddRef when
returning the palette. Is that intentional?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ddraw-Fix-refcounting-of-palettes.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20080316/d45e0a9b/attachment.bin 

More information about the wine-devel mailing list