Henri Verbeet : d3dcompiler: Actually free the function in free_function() (Valgrind).
Module: wine Branch: master Commit: c05acba1687dc6c10e97f8b5611861af9375700a URL: http://source.winehq.org/git/wine.git/?a=commit;h=c05acba1687dc6c10e97f8b561... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Thu Apr 30 16:46:38 2015 +0200 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 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)
participants (1)
-
Alexandre Julliard