wined3d: Also free the input signature in shader_cleanup() (Valgrind).

This commit is contained in:
Henri Verbeet 2015-04-24 19:31:39 +02:00 committed by Alexandre Julliard
parent 79f4ca9ec4
commit 4b86f13ade
1 changed files with 1 additions and 0 deletions

View File

@ -1862,6 +1862,7 @@ static void shader_trace_init(const struct wined3d_shader_frontend *fe, void *fe
static void shader_cleanup(struct wined3d_shader *shader)
{
HeapFree(GetProcessHeap(), 0, shader->output_signature.elements);
HeapFree(GetProcessHeap(), 0, shader->input_signature.elements);
HeapFree(GetProcessHeap(), 0, shader->signature_strings);
shader->device->shader_backend->shader_destroy(shader);
HeapFree(GetProcessHeap(), 0, shader->reg_maps.constf);