From: Augustin Degomme Date: Mon, 23 Sep 2013 15:58:36 +0000 (+0200) Subject: leak -- X-Git-Tag: v3_9_90~104^2~7 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/59c2ae3e710d06c54ba40fff2d290b7351fb7665?ds=sidebyside leak -- --- diff --git a/src/surf/workstation.c b/src/surf/workstation.c index ba36abacde..187b5a0642 100644 --- a/src/surf/workstation.c +++ b/src/surf/workstation.c @@ -558,7 +558,7 @@ static void surf_workstation_model_init_internal(void) void surf_workstation_model_init_current_default(void) { surf_workstation_model_init_internal(); - xbt_cfg_setdefault_boolean(_sg_cfg_set, "network/crosstraffic", xbt_strdup("yes")); + xbt_cfg_setdefault_boolean(_sg_cfg_set, "network/crosstraffic", "yes"); surf_cpu_model_init_Cas01(); surf_network_model_init_LegrandVelho();