]> AND Public Git Repository - simgrid.git/blobdiff - src/xbt/log.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : init ignore information for each block/fragment only in mmalloc
[simgrid.git] / src / xbt / log.c
index adaa919f06813203b5c385e2a3c9d28a3e23aa91..a0897143eebf0c8b0937e80fd517b3925c643a77 100644 (file)
@@ -1345,8 +1345,8 @@ static void xbt_log_help_categories_rec(xbt_log_category_t category,
     this_prefix = bprintf("%s \\_ ", prefix);
     child_prefix = bprintf("%s |  ", prefix);
   } else {
-    this_prefix = bprintf("%s", prefix);
-    child_prefix = bprintf("%s", prefix);
+    this_prefix = xbt_strdup(prefix);
+    child_prefix = xbt_strdup(prefix);
   }
 
   dynar = xbt_dynar_new(sizeof(xbt_log_category_t), NULL);