Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
let xbt_heap_free(NULL) be a noop
[simgrid.git] / src / surf / cpu_cas01.cpp
index fb91f38..0469a17 100644 (file)
@@ -71,9 +71,7 @@ CpuCas01Model::~CpuCas01Model()
 {
   lmm_system_free(maxminSystem_);
   maxminSystem_ = NULL;
-
-  if (actionHeap_)
-    xbt_heap_free(actionHeap_);
+  xbt_heap_free(actionHeap_);
   delete modifiedSet_;
 
   surf_cpu_model_pm = NULL;