From 0840998a3f0220b16b8c7aefa61807e855d782b3 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sat, 1 Jul 2017 01:03:42 +0200 Subject: [PATCH] please sonar --- examples/s4u/actor-create/s4u_actor-create.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.20.1