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