[PATCH 2/5] d3dcompiler: Actually free the function in free_function() (Valgrind).
Henri Verbeet
hverbeet at codeweavers.com
Thu Apr 30 09:46:38 CDT 2015
---
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 8de102f..2d88975 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)
--
1.7.10.4
More information about the wine-patches
mailing list