From 607a643bcc3b38bce1dd4794ac7ec03140a218a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rico=20Sch=C3=BCller?= Date: Tue, 27 Oct 2009 20:10:19 +0100 Subject: [PATCH] d3d10: Fix a HeapFree() in d3d10_effect_Release(). --- dlls/d3d10/effect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c index ac3d972dd28..d4c731041a8 100644 --- a/dlls/d3d10/effect.c +++ b/dlls/d3d10/effect.c @@ -1737,7 +1737,7 @@ static ULONG STDMETHODCALLTYPE d3d10_effect_Release(ID3D10Effect *iface) { d3d10_effect_variable_destroy(&This->local_variables[i]); } - HeapFree(GetProcessHeap(), 0, &This->local_variables); + HeapFree(GetProcessHeap(), 0, This->local_variables); } if (This->local_buffers)