Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics in actors
[simgrid.git] / src / simix / ActorImpl.cpp
index 5553d28..403a5c2 100644 (file)
@@ -165,10 +165,8 @@ namespace simix {
 ActorImpl::~ActorImpl()
 {
   delete this->context;
-  if (this->properties)
-    xbt_dict_free(&this->properties);
-  if (this->on_exit)
-    xbt_dynar_free(&this->on_exit);
+  xbt_dict_free(&this->properties);
+  xbt_dynar_free(&this->on_exit);
 }
 
 void create_maestro(std::function<void()> code)