From: Bart Polot Date: Thu, 5 Jan 2012 17:11:50 +0000 (+0000) Subject: -Fixed coverity #10274 X-Git-Tag: initial-import-from-subversion-38251~15413 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=79d545e3387e0e58651856cedf6e86ad7a83a666;p=oweals%2Fgnunet.git -Fixed coverity #10274 --- 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, p = path_build_from_dht (get_path, get_path_length, put_path, put_path_length); path_add_to_peers (p, GNUNET_NO); + path_destroy(p); for (i = 0; i < path_info->peer->ntunnels; i++) { tunnel_add_peer (path_info->peer->tunnels[i], path_info->peer);