X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/296031c0d105d287c2c9d5411dafa9b0e05651d9..f6e28b0bd83e4bbdde69a243303517b801437ffc:/src/mc/mc_global.c diff --git a/src/mc/mc_global.c b/src/mc/mc_global.c index db0a1a3be8..7bf5c97157 100644 --- a/src/mc/mc_global.c +++ b/src/mc/mc_global.c @@ -178,11 +178,7 @@ void dw_variable_free_voidp(void *t){ // object_info mc_object_info_t MC_new_object_info(void) { - mc_object_info_t res = xbt_new(s_mc_object_info_t, 1); - res->file_name = NULL; - res->start_text = NULL; - res->start_data = NULL; - res->start_bss = NULL; + mc_object_info_t res = xbt_new0(s_mc_object_info_t, 1); res->local_variables = xbt_dict_new_homogeneous(NULL); res->global_variables = xbt_dynar_new(sizeof(dw_variable_t), dw_variable_free_voidp); res->types = xbt_dict_new_homogeneous(NULL);