X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3c4cf9bba19691e320a3ba2a892e70580a2ff7fa..63f93ca6b6d7f05e4b1bdcd43d6ba728b9873636:/src/msg/msg_private.hpp diff --git a/src/msg/msg_private.hpp b/src/msg/msg_private.hpp index d65129c89e..5e0c177bf3 100644 --- a/src/msg/msg_private.hpp +++ b/src/msg/msg_private.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2004-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2004-2019. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -18,8 +18,9 @@ struct s_simdata_task_t { ~s_simdata_task_t() { /* parallel tasks only */ - delete[] this->host_list; - /* flops_parallel_amount and bytes_parallel_amount are automatically deleted in ~L07Action */ + delete[] host_list; + delete[] flops_parallel_amount; + delete[] bytes_parallel_amount; } void setUsed(); void setNotUsed() { this->isused = false; } @@ -78,11 +79,6 @@ typedef s_MSG_Global_t* MSG_Global_t; XBT_PUBLIC_DATA MSG_Global_t msg_global; /*************************************************************/ -XBT_PRIVATE void MSG_process_cleanup_from_SIMIX(smx_actor_t smx_proc); -XBT_PRIVATE smx_actor_t MSG_process_create_from_SIMIX(std::string name, simgrid::simix::ActorCode code, void* data, - sg_host_t host, - std::unordered_map* properties, - smx_actor_t parent_process); XBT_PRIVATE void MSG_comm_copy_data_from_SIMIX(smx_activity_t comm, void* buff, size_t buff_size); /********** Tracing **********/