Henri Verbeet : wined3d: Free the context array in IWineGDISwapChainImpl_Destroy() (Valgrind).
Alexandre Julliard
julliard at winehq.org
Thu Oct 22 10:39:55 CDT 2009
Module: wine
Branch: master
Commit: a927573395d60790f7c42772d97f1c1933b80b31
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a927573395d60790f7c42772d97f1c1933b80b31
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Thu Oct 22 10:09:56 2009 +0200
wined3d: Free the context array in IWineGDISwapChainImpl_Destroy() (Valgrind).
---
dlls/wined3d/swapchain_gdi.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/swapchain_gdi.c b/dlls/wined3d/swapchain_gdi.c
index f4909bc..f795d89 100644
--- a/dlls/wined3d/swapchain_gdi.c
+++ b/dlls/wined3d/swapchain_gdi.c
@@ -70,6 +70,7 @@ static void WINAPI IWineGDISwapChainImpl_Destroy(IWineD3DSwapChain *iface)
IWineD3DDevice_SetDisplayMode((IWineD3DDevice *) This->wineD3DDevice, 0, &mode);
}
+ HeapFree(GetProcessHeap(), 0, This->context);
HeapFree(GetProcessHeap(), 0, This);
}
More information about the wine-cvs
mailing list