wined3d: Cleanup the sampler map in shader_cleanup() (Valgrind).

This commit is contained in:
Henri Verbeet 2015-04-27 16:39:36 +02:00 committed by Alexandre Julliard
parent abc84588d2
commit f09288cfc4
1 changed files with 1 additions and 0 deletions

View File

@ -1866,6 +1866,7 @@ static void shader_cleanup(struct wined3d_shader *shader)
HeapFree(GetProcessHeap(), 0, shader->signature_strings);
shader->device->shader_backend->shader_destroy(shader);
HeapFree(GetProcessHeap(), 0, shader->reg_maps.constf);
HeapFree(GetProcessHeap(), 0, shader->reg_maps.sampler_map.entries);
HeapFree(GetProcessHeap(), 0, shader->function);
shader_delete_constant_list(&shader->constantsF);
shader_delete_constant_list(&shader->constantsB);