Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't use pass-by-value for large parameters.
[simgrid.git] / src / xbt / xbt_log_layout_format.cpp
index 5bbf144..854968e 100644 (file)
@@ -176,7 +176,7 @@ static int xbt_log_layout_format_doit(xbt_log_layout_t l, xbt_log_event_t ev, co
 
 static void xbt_log_layout_format_free(xbt_log_layout_t lay)
 {
-  free(lay->data);
+  xbt_free(lay->data);
 }
 
 xbt_log_layout_t xbt_log_layout_format_new(char *arg)