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 memleak
[simgrid.git]
/
src
/
surf
/
surf_routing.cpp
diff --git
a/src/surf/surf_routing.cpp
b/src/surf/surf_routing.cpp
index
211559d
..
6216697
100644
(file)
--- a/
src/surf/surf_routing.cpp
+++ b/
src/surf/surf_routing.cpp
@@
-1263,8
+1263,7
@@
static void finalize_rec(AsPtr as) {
/** \brief Frees all memory allocated by the routing module */
void routing_exit(void) {
/** \brief Frees all memory allocated by the routing module */
void routing_exit(void) {
- if (routing_platf)
- delete routing_platf;
+ delete routing_platf;
}
RoutingPlatf::~RoutingPlatf()
}
RoutingPlatf::~RoutingPlatf()