commit 774b719fc930d246b9fe400d43398646d898b8a1
parent 595e3d738354a51fb599ea4e2746a35796f79659
Author: Bart Polot <bart@net.in.tum.de>
Date: Fri, 7 Jun 2013 01:51:06 +0000
- fix memleak
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/mesh/gnunet-service-mesh-new.c b/src/mesh/gnunet-service-mesh-new.c
@@ -2276,6 +2276,7 @@ tunnel_destroy (struct MeshTunnel *t)
n_tunnels--;
GNUNET_STATISTICS_update (stats, "# tunnels", -1, GNUNET_NO);
+ path_destroy (t->path);
GNUNET_free (t);
return r;
}