X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/53dcf8b54a048f0857300817356ccd8156c8e735..3922ecf35babad02cc4ad9d5ad3a7fcb4e7eeabd:/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); }