Henri Verbeet : dxgi: Free the adapters array in dxgi_factory_Release() ( Valgrind).
Alexandre Julliard
julliard at winehq.org
Wed Oct 21 13:14:00 CDT 2009
Module: wine
Branch: master
Commit: a3f22d07d1a43e2b52b6a1bdeb9fde6f8c5605af
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a3f22d07d1a43e2b52b6a1bdeb9fde6f8c5605af
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Wed Oct 21 10:33:57 2009 +0200
dxgi: Free the adapters array in dxgi_factory_Release() (Valgrind).
---
dlls/dxgi/factory.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/dxgi/factory.c b/dlls/dxgi/factory.c
index 667b2f7..33c1576 100644
--- a/dlls/dxgi/factory.c
+++ b/dlls/dxgi/factory.c
@@ -71,6 +71,7 @@ static ULONG STDMETHODCALLTYPE dxgi_factory_Release(IWineDXGIFactory *iface)
{
IDXGIAdapter_Release(This->adapters[i]);
}
+ HeapFree(GetProcessHeap(), 0, This->adapters);
EnterCriticalSection(&dxgi_cs);
IWineD3D_Release(This->wined3d);
More information about the wine-cvs
mailing list