Commit c05acba1 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent 307cf703
......@@ -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)
......
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