d3dcompiler: Actually free the function in free_function() (Valgrind).

This commit is contained in:
Henri Verbeet 2015-04-30 16:46:38 +02:00 committed by Alexandre Julliard
parent 307cf703af
commit c05acba168
1 changed files with 1 additions and 0 deletions

View File

@ -2462,6 +2462,7 @@ static void free_function(struct hlsl_ir_function *func)
{
wine_rb_destroy(&func->overloads, free_function_decl_rb, NULL);
d3dcompiler_free((void *)func->name);
d3dcompiler_free(func);
}
void free_function_rb(struct wine_rb_entry *entry, void *context)