Stefan Dösinger : wined3d: Free the backbuffer array.

Alexandre Julliard julliard at winehq.org
Wed Nov 7 06:45:55 CST 2007


Module: wine
Branch: master
Commit: a34c1f948b0b9266862004b31388e334ffa89a55
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a34c1f948b0b9266862004b31388e334ffa89a55

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Tue Nov  6 19:50:18 2007 +0100

wined3d: Free the backbuffer array.

---

 dlls/wined3d/swapchain.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c
index 501c7cd..81f17c3 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




More information about the wine-cvs mailing list