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 delete/free mismatch.
[simgrid.git]
/
src
/
surf
/
surf_routing.cpp
diff --git
a/src/surf/surf_routing.cpp
b/src/surf/surf_routing.cpp
index
568d33f
..
e39b3e7
100644
(file)
--- a/
src/surf/surf_routing.cpp
+++ b/
src/surf/surf_routing.cpp
@@
-1267,7
+1267,7
@@
void routing_exit(void) {
return;
xbt_dynar_free(&routing_platf->p_lastRoute);
finalize_rec(routing_platf->p_root);
-
xbt_free(routing_platf)
;
+
delete routing_platf
;
}
AS_t surf_AS_get_routing_root() {