aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-11-14 12:01:36 +0000
committerBart Polot <bart@net.in.tum.de>2013-11-14 12:01:36 +0000
commit8c220040ca9a9449565e254c21e7df02dfe90824 (patch)
tree30b6b391ff4a876b51ea5b4747a3748c6e0d0acc
parent2d58d14b0ba6c6b73ebe1acb44904bc93fe50cc6 (diff)
downloadgnunet-8c220040ca9a9449565e254c21e7df02dfe90824.tar.gz
gnunet-8c220040ca9a9449565e254c21e7df02dfe90824.zip
- fix memleak
-rw-r--r--src/mesh/gnunet-service-mesh_connection.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh_connection.c b/src/mesh/gnunet-service-mesh_connection.c
index 0e3831569..6b2edb403 100644
--- a/src/mesh/gnunet-service-mesh_connection.c
+++ b/src/mesh/gnunet-service-mesh_connection.c
@@ -2095,6 +2095,8 @@ GMC_destroy (struct MeshConnection *c)
2095 if (GNUNET_NO == GMC_is_origin (c, GNUNET_YES)) 2095 if (GNUNET_NO == GMC_is_origin (c, GNUNET_YES))
2096 path_destroy (c->path); 2096 path_destroy (c->path);
2097 2097
2098 GNUNET_CONTAINER_multihashmap_remove (connections, &c->id, c);
2099
2098 GNUNET_free (c); 2100 GNUNET_free (c);
2099} 2101}
2100 2102