Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
plug an obvious memleak, bummer
[simgrid.git] / src / s4u / s4u_engine.cpp
index f28ecad..da624f5 100644 (file)
@@ -35,6 +35,11 @@ Engine::Engine(int *argc, char **argv) {
   SIMIX_global_init(argc, argv);
 }
 
+Engine::~Engine()
+{
+  delete pimpl;
+}
+
 Engine *Engine::instance() {
   if (s4u::Engine::instance_ == nullptr)
     new Engine(0,nullptr);