summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-10-28 11:40:38 +0000
committerBart Polot <bart@net.in.tum.de>2011-10-28 11:40:38 +0000
commite936260a516bd0382df5a9be187392c8745acc89 (patch)
tree6f66e6a32ac0f9182268cd117a4901fd0b716624 /src
parentbbbce5ff82754dde929f3a9379245a1ca4089f66 (diff)
Fixed coverity #10228
Diffstat (limited to 'src')
-rw-r--r--src/mesh/gnunet-service-mesh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c
index 6e0af467b..a3a9db942 100644
--- a/src/mesh/gnunet-service-mesh.c
+++ b/src/mesh/gnunet-service-mesh.c
@@ -2622,6 +2622,7 @@ handle_mesh_path_destroy (void *cls, const struct GNUNET_PeerIdentity *peer,
if (own_pos < path->length - 1)
send_message (message, &pi[own_pos + 1]);
tunnel_delete_peer (t, path->peers[path->length - 1]);
+ path_destroy (path);
return GNUNET_OK;
}