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
Fix WorkstationCLM03::fileSeek return type
[simgrid.git]
/
src
/
surf
/
network.hpp
diff --git
a/src/surf/network.hpp
b/src/surf/network.hpp
index
fda0c08
..
5acdb12
100644
(file)
--- a/
src/surf/network.hpp
+++ b/
src/surf/network.hpp
@@
-49,7
+49,8
@@
public:
this->initialize();
}
~NetworkCm02Model() {
- lmm_system_free(p_maxminSystem);
+ if (p_maxminSystem)
+ lmm_system_free(p_maxminSystem);
if (p_actionHeap)
xbt_heap_free(p_actionHeap);
if (p_modifiedSet)