From 0b83205608b7fc3e935b970509a08e381ad1dffe Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Thu, 20 Mar 2014 12:38:00 +0100 Subject: [PATCH] [mc] Fix cleanup of info->types --- src/mc/mc_global.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mc/mc_global.c b/src/mc/mc_global.c index 0eeddef3d9..0c6c04d46e 100644 --- a/src/mc/mc_global.c +++ b/src/mc/mc_global.c @@ -193,7 +193,7 @@ mc_object_info_t MC_new_object_info(void) { mc_object_info_t res = xbt_new0(s_mc_object_info_t, 1); res->subprograms = xbt_dict_new_homogeneous((void (*)(void*))mc_frame_free); res->global_variables = xbt_dynar_new(sizeof(dw_variable_t), dw_variable_free_voidp); - res->types = xbt_dict_new_homogeneous(NULL); + res->types = xbt_dict_new_homogeneous((void (*)(void*))dw_type_free); res->full_types_by_name = xbt_dict_new_homogeneous(NULL); return res; } -- 2.20.1