Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use a mallocator for the Surf actions
[simgrid.git] / src / surf / cpu.c
index 4e3916c..dc1165f 100644 (file)
@@ -161,7 +161,7 @@ static int cpu_action_unref(surf_action_t action)
     if (action->category)
       xbt_free(action->category);
 #endif
-    free(action);
+    surf_action_free(&action);
     return 1;
   }
   return 0;