Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change getName() and add getCname() in s4u::Storage.
[simgrid.git] / src / msg / msg_private.hpp
index b30226e..094dd62 100644 (file)
@@ -31,7 +31,8 @@ struct s_simdata_task_t {
   ~s_simdata_task_t()
   {
     /* parallel tasks only */
-    xbt_free(this->host_list);
+    delete[] this->host_list;
+    /* flops_parallel_amount and bytes_parallel_amount are automatically deleted in ~L07Action */
   }
   void setUsed();
   void setNotUsed() { this->isused = false; }