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
Free cost table on finalize.
[simgrid.git]
/
src
/
surf
/
surf_routing_floyd.c
diff --git
a/src/surf/surf_routing_floyd.c
b/src/surf/surf_routing_floyd.c
index
95292f8
..
337ca87
100644
(file)
--- a/
src/surf/surf_routing_floyd.c
+++ b/
src/surf/surf_routing_floyd.c
@@
-150,8
+150,9
@@
static void floyd_finalize(AS_t rc)
xbt_dict_free(&as->generic_routing.bypassRoutes);
/* Delete index dict */
xbt_dict_free(&(as->generic_routing.to_index));
xbt_dict_free(&as->generic_routing.bypassRoutes);
/* Delete index dict */
xbt_dict_free(&(as->generic_routing.to_index));
- /* Delete
dictionary index dict, predecessor and links
table */
+ /* Delete
predecessor and cost
table */
xbt_free(as->predecessor_table);
xbt_free(as->predecessor_table);
+ xbt_free(as->cost_table);
model_generic_finalize(rc);
}
model_generic_finalize(rc);
}