Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix a compilation warning introduced by r9557
[simgrid.git] / src / simix / smx_host.c
index 65afb4f..de979cc 100644 (file)
@@ -371,8 +371,12 @@ void SIMIX_execution_finish(smx_action_t action)
         THROW_IMPOSSIBLE;
     }
     req->issuer->waiting_action = NULL;
+    req->host_execution_wait.result = action->state;
     SIMIX_request_answer(req);
   }
+
+  /* We no longer need it */
+  SIMIX_host_execution_destroy(action);
 }
 
 void SIMIX_post_host_execute(smx_action_t action)