projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d58d14
)
- fix memleak
author
Bart Polot
<bart@net.in.tum.de>
Thu, 14 Nov 2013 12:01:36 +0000
(12:01 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Thu, 14 Nov 2013 12:01:36 +0000
(12:01 +0000)
src/mesh/gnunet-service-mesh_connection.c
patch
|
blob
|
history
diff --git
a/src/mesh/gnunet-service-mesh_connection.c
b/src/mesh/gnunet-service-mesh_connection.c
index 0e3831569a0ebc9be2ac6eac3c1575e38a00483b..6b2edb403abcbc78a9c8ac1caf21cbc41f90d0e2 100644
(file)
--- 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)
if (GNUNET_NO == GMC_is_origin (c, GNUNET_YES))
path_destroy (c->path);
+ GNUNET_CONTAINER_multihashmap_remove (connections, &c->id, c);
+
GNUNET_free (c);
}