d3dcompiler: Actually free the function in free_function() (Valgrind).
This commit is contained in:
parent
307cf703af
commit
c05acba168
|
@ -2462,6 +2462,7 @@ static void free_function(struct hlsl_ir_function *func)
|
||||||
{
|
{
|
||||||
wine_rb_destroy(&func->overloads, free_function_decl_rb, NULL);
|
wine_rb_destroy(&func->overloads, free_function_decl_rb, NULL);
|
||||||
d3dcompiler_free((void *)func->name);
|
d3dcompiler_free((void *)func->name);
|
||||||
|
d3dcompiler_free(func);
|
||||||
}
|
}
|
||||||
|
|
||||||
void free_function_rb(struct wine_rb_entry *entry, void *context)
|
void free_function_rb(struct wine_rb_entry *entry, void *context)
|
||||||
|
|
Loading…
Reference in New Issue