From c05acba1687dc6c10e97f8b5611861af9375700a Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 30 Apr 2015 16:46:38 +0200 Subject: [PATCH] d3dcompiler: Actually free the function in free_function() (Valgrind). --- dlls/d3dcompiler_43/utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/d3dcompiler_43/utils.c b/dlls/d3dcompiler_43/utils.c index 8de102fe6c6..2d88975cd6f 100644 --- a/dlls/d3dcompiler_43/utils.c +++ b/dlls/d3dcompiler_43/utils.c @@ -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)