Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
plug a leak when ptask_LO7 is used
[simgrid.git] / src / surf / host_ptask_L07.cpp
index c202f98..e4156e5 100644 (file)
@@ -73,7 +73,8 @@ CpuL07Model::CpuL07Model(HostL07Model *hmodel,lmm_system_t sys)
        }
 CpuL07Model::~CpuL07Model() {
        surf_cpu_model_pm = NULL;
-       p_maxminSystem = NULL; // Avoid multi-free
+       lmm_system_free(p_maxminSystem);
+       p_maxminSystem = NULL;
 }
 NetworkL07Model::NetworkL07Model(HostL07Model *hmodel, lmm_system_t sys)
        : NetworkModel()