From: Martin Quinson Date: Fri, 30 Jun 2017 23:03:42 +0000 (+0200) Subject: please sonar X-Git-Tag: v3_17~499 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/0840998a3f0220b16b8c7aefa61807e855d782b3?hp=d7d6455c7504278fee7eb60f643e9f3bf0fefe9c please sonar --- diff --git a/examples/s4u/actor-create/s4u_actor-create.cpp b/examples/s4u/actor-create/s4u_actor-create.cpp index f6700b0124..56c2849adf 100644 --- a/examples/s4u/actor-create/s4u_actor-create.cpp +++ b/examples/s4u/actor-create/s4u_actor-create.cpp @@ -114,6 +114,7 @@ int main(int argc, char** argv) e->run(); /* Once the simulation is done, the program is ended */ - e->shutdown(); + delete e; + return 0; }