From a927573395d60790f7c42772d97f1c1933b80b31 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 22 Oct 2009 10:09:56 +0200 Subject: [PATCH] wined3d: Free the context array in IWineGDISwapChainImpl_Destroy() (Valgrind). --- dlls/wined3d/swapchain_gdi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/wined3d/swapchain_gdi.c b/dlls/wined3d/swapchain_gdi.c index f4909bc416..f795d89b7c 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); } -- 2.32.0.93.g670b81a890