A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
let xbt_heap_free(NULL) be a noop
[simgrid.git]
/
src
/
surf
/
cpu_cas01.cpp
diff --git
a/src/surf/cpu_cas01.cpp
b/src/surf/cpu_cas01.cpp
index
fb91f38
..
0469a17
100644
(file)
--- a/
src/surf/cpu_cas01.cpp
+++ b/
src/surf/cpu_cas01.cpp
@@
-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;