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
Kill "if" before free, and useless cast of free argument.
[simgrid.git]
/
src
/
surf
/
surf.c
diff --git
a/src/surf/surf.c
b/src/surf/surf.c
index
9a57398
..
dfdafbd
100644
(file)
--- a/
src/surf/surf.c
+++ b/
src/surf/surf.c
@@
-387,8
+387,7
@@
void surf_exit(void)
}
surf_action_exit();
- if (surf_path)
- xbt_dynar_free(&surf_path);
+ xbt_dynar_free(&surf_path);
xbt_lib_free(&host_lib);
xbt_lib_free(&link_lib);