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
optim: don't call for xbt_dynar_foreach
[simgrid.git]
/
src
/
xbt
/
xbt_peer.c
diff --git
a/src/xbt/xbt_peer.c
b/src/xbt/xbt_peer.c
index
23d7ca4
..
80dae08
100644
(file)
--- a/
src/xbt/xbt_peer.c
+++ b/
src/xbt/xbt_peer.c
@@
-48,8
+48,7
@@
xbt_peer_t xbt_peer_from_string(const char *peerport)
void xbt_peer_free(xbt_peer_t peer)
{
if (peer) {
- if (peer->name)
- free(peer->name);
+ free(peer->name);
free(peer);
}
}