Commit 71a96755 authored by Rico Schüller's avatar Rico Schüller Committed by Alexandre Julliard

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

parent 18a2e839
...@@ -1951,7 +1951,7 @@ static ULONG STDMETHODCALLTYPE d3d10_effect_Release(ID3D10Effect *iface) ...@@ -1951,7 +1951,7 @@ static ULONG STDMETHODCALLTYPE d3d10_effect_Release(ID3D10Effect *iface)
for (i = 0; i < This->anonymous_shader_count; ++i) for (i = 0; i < This->anonymous_shader_count; ++i)
{ {
d3d10_effect_variable_destroy(&This->anonymous_shaders[i].shader); d3d10_effect_variable_destroy(&This->anonymous_shaders[i].shader);
HeapFree(GetProcessHeap(), 0, &This->anonymous_shaders[i].type.name); HeapFree(GetProcessHeap(), 0, This->anonymous_shaders[i].type.name);
} }
HeapFree(GetProcessHeap(), 0, This->anonymous_shaders); HeapFree(GetProcessHeap(), 0, This->anonymous_shaders);
} }
......
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