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
[mc] Cleanup mc_object_info_t code
[simgrid.git]
/
src
/
surf
/
surf_routing_none.c
diff --git
a/src/surf/surf_routing_none.c
b/src/surf/surf_routing_none.c
index
46d667b
..
1887c32
100644
(file)
--- a/
src/surf/surf_routing_none.c
+++ b/
src/surf/surf_routing_none.c
@@
-1,4
+1,4
@@
-/* Copyright (c) 2009
, 2010, 2011
. The SimGrid Team.
+/* Copyright (c) 2009
-2013
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-68,8
+68,7
@@
AS_t model_none_create_sized(size_t childsize) {
void model_none_finalize(AS_t as) {
xbt_dict_free(&as->routing_sons);
xbt_dynar_free(&as->index_network_elm);
void model_none_finalize(AS_t as) {
xbt_dict_free(&as->routing_sons);
xbt_dynar_free(&as->index_network_elm);
- if(as->link_up_down_list)
- xbt_dynar_free(&as->link_up_down_list);
+ xbt_dynar_free(&as->link_up_down_list);
xbt_free(as);
}
xbt_free(as);
}