X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9de2143df74699fb6e21a9eb8f37e38db0c00357..641a50f24d1b73046f9f600493cc14bdccf2de03:/src/msg/msg_private.hpp diff --git a/src/msg/msg_private.hpp b/src/msg/msg_private.hpp index c1affe16fe..094dd62f4e 100644 --- a/src/msg/msg_private.hpp +++ b/src/msg/msg_private.hpp @@ -28,7 +28,12 @@ public: /********************************* Task **************************************/ struct s_simdata_task_t { - ~s_simdata_task_t() { delete[] this->host_list; /* parallel tasks only */ } + ~s_simdata_task_t() + { + /* parallel tasks only */ + delete[] this->host_list; + /* flops_parallel_amount and bytes_parallel_amount are automatically deleted in ~L07Action */ + } void setUsed(); void setNotUsed() { this->isused = false; }