projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2b8072
)
- elimiate all paths
author
Bart Polot
<bart@net.in.tum.de>
Sat, 22 Mar 2014 02:58:33 +0000
(
02:58
+0000)
committer
Bart Polot
<bart@net.in.tum.de>
Sat, 22 Mar 2014 02:58:33 +0000
(
02:58
+0000)
src/mesh/gnunet-service-mesh_peer.c
patch
|
blob
|
history
diff --git
a/src/mesh/gnunet-service-mesh_peer.c
b/src/mesh/gnunet-service-mesh_peer.c
index d45e4f2b9931d8b66c8e8359469e98bbe5c25ff9..2884b1a53618058500786d46bebc00a7eabf6acc 100644
(file)
--- a/
src/mesh/gnunet-service-mesh_peer.c
+++ b/
src/mesh/gnunet-service-mesh_peer.c
@@
-1808,9
+1808,8
@@
GMP_remove_path (struct MeshPeer *peer, struct MeshPeerPath *path)
sizeof (GNUNET_PEER_Id) * path->length))
{
GNUNET_CONTAINER_DLL_remove (peer->path_head, peer->path_tail, iter);
- path_destroy (iter);
- if (path == iter)
- return;
+ if (path != iter)
+ path_destroy (iter);
}
}
path_destroy (path);