Alexander Dorofeyev : ddraw: Release palette interfaces.
Alexandre Julliard
julliard at winehq.org
Mon Dec 31 12:32:35 CST 2007
Module: wine
Branch: master
Commit: 9dbdacbd824189fafe6d88075761c5309a3f551b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9dbdacbd824189fafe6d88075761c5309a3f551b
Author: Alexander Dorofeyev <alexd4 at inbox.lv>
Date: Sun Dec 30 18:03:42 2007 -0800
ddraw: Release palette interfaces.
---
dlls/ddraw/texture.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/ddraw/texture.c b/dlls/ddraw/texture.c
index 0880154..3f0ccc9 100644
--- a/dlls/ddraw/texture.c
+++ b/dlls/ddraw/texture.c
@@ -394,6 +394,9 @@ IDirect3DTextureImpl_Load(IDirect3DTexture2 *iface,
}
}
+ if (pal) IDirectDrawPalette_Release(pal);
+ if (pal_src) IDirectDrawPalette_Release(pal_src);
+
/* Copy one surface on the other */
dst_d = (DDSURFACEDESC *)&(This->surface_desc);
src_d = (DDSURFACEDESC *)&(src_ptr->surface_desc);
More information about the wine-cvs
mailing list