X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ac8718463392d74ca8918e7ec1ce4ff33c649663..1fee3878c4694903d4a2af466f18d6f35f624121:/teshsuite/msg/host_on_off_recv/host_on_off_recv.c diff --git a/teshsuite/msg/host_on_off_recv/host_on_off_recv.c b/teshsuite/msg/host_on_off_recv/host_on_off_recv.c index a170bd1d07..0df6ef0adb 100644 --- a/teshsuite/msg/host_on_off_recv/host_on_off_recv.c +++ b/teshsuite/msg/host_on_off_recv/host_on_off_recv.c @@ -26,6 +26,7 @@ static int master(int argc, char *argv[]) MSG_host_off(jupiter); if (comm) { + MSG_task_destroy(task); MSG_comm_wait(comm, -1); MSG_comm_destroy(comm); }