From a34c1f948b0b9266862004b31388e334ffa89a55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Tue, 6 Nov 2007 19:50:18 +0100 Subject: [PATCH] wined3d: Free the backbuffer array. --- dlls/wined3d/swapchain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c index 501c7cdefb9..81f17c35ed3 100644 --- a/dlls/wined3d/swapchain.c +++ b/dlls/wined3d/swapchain.c @@ -103,6 +103,7 @@ static void WINAPI IWineD3DSwapChainImpl_Destroy(IWineD3DSwapChain *iface, D3DCB FIXME("(%p) Something's still holding the back buffer\n",This); } } + HeapFree(GetProcessHeap(), 0, This->backBuffer); } /* Restore the screen resolution if we rendered in fullscreen