Commit 607a643b authored by Rico Schüller's avatar Rico Schüller Committed by Alexandre Julliard

d3d10: Fix a HeapFree() in d3d10_effect_Release().

parent e6ca176a
...@@ -1737,7 +1737,7 @@ static ULONG STDMETHODCALLTYPE d3d10_effect_Release(ID3D10Effect *iface) ...@@ -1737,7 +1737,7 @@ static ULONG STDMETHODCALLTYPE d3d10_effect_Release(ID3D10Effect *iface)
{ {
d3d10_effect_variable_destroy(&This->local_variables[i]); d3d10_effect_variable_destroy(&This->local_variables[i]);
} }
HeapFree(GetProcessHeap(), 0, &This->local_variables); HeapFree(GetProcessHeap(), 0, This->local_variables);
} }
if (This->local_buffers) if (This->local_buffers)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment