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_full.cpp
diff --git
a/src/surf/surf_routing_full.cpp
b/src/surf/surf_routing_full.cpp
index
814aba7
..
23b320f
100644
(file)
--- a/
src/surf/surf_routing_full.cpp
+++ b/
src/surf/surf_routing_full.cpp
@@
-61,7
+61,7
@@
AsFull::~AsFull(){
/* Delete routing table */
for (i = 0; i < table_size; i++)
for (j = 0; j < table_size; j++)
-
delete TO_ROUTE_FULL(i,j
);
+
xbt_free(TO_ROUTE_FULL(i,j)
);
xbt_free(p_routingTable);
}