diff options
author | Bart Polot <bart@net.in.tum.de> | 2012-01-05 17:11:50 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2012-01-05 17:11:50 +0000 |
commit | 79d545e3387e0e58651856cedf6e86ad7a83a666 (patch) | |
tree | 1864479819cd9c41cb4a836f832aaa20ee156225 /src/mesh | |
parent | 64584845b3207ade2038bca6ed9821da760e8219 (diff) | |
download | gnunet-79d545e3387e0e58651856cedf6e86ad7a83a666.tar.gz gnunet-79d545e3387e0e58651856cedf6e86ad7a83a666.zip |
-Fixed coverity #10274
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 564640acd..5a9d5eb2c 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c | |||
@@ -3303,6 +3303,7 @@ dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp, | |||
3303 | p = path_build_from_dht (get_path, get_path_length, put_path, | 3303 | p = path_build_from_dht (get_path, get_path_length, put_path, |
3304 | put_path_length); | 3304 | put_path_length); |
3305 | path_add_to_peers (p, GNUNET_NO); | 3305 | path_add_to_peers (p, GNUNET_NO); |
3306 | path_destroy(p); | ||
3306 | for (i = 0; i < path_info->peer->ntunnels; i++) | 3307 | for (i = 0; i < path_info->peer->ntunnels; i++) |
3307 | { | 3308 | { |
3308 | tunnel_add_peer (path_info->peer->tunnels[i], path_info->peer); | 3309 | tunnel_add_peer (path_info->peer->tunnels[i], path_info->peer); |