From: Frederic Suter Date: Thu, 30 Mar 2017 14:46:32 +0000 (+0200) Subject: leak plug X-Git-Tag: v3.16~408 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/1fee3878c4694903d4a2af466f18d6f35f624121 leak plug --- 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); }