[2/6] wined3d: free palette handle when destroying IWineD3DPaletteImpl

Alexander Dorofeyev alexd4 at inbox.lv
Sun Dec 30 20:03:35 CST 2007


Together with 3/6 patch this is needed to fix bad memory and palette handle
leaks in Aliens vs Predator 1 game (which does CreatePalette and Setpalette
every frame), and thus fix the eventual crash because of this leaks
(http://bugs.winehq.org/show_bug.cgi?id=3003).
---
    dlls/wined3d/palette.c |    1 +
    1 files changed, 1 insertions(+), 0 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 86a31f2aab1fdd2117b768a6ccffd50dfc01a5f1.diff
Type: text/x-patch
Size: 434 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071230/4e4aa4ee/attachment.bin 


More information about the wine-patches mailing list