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:
39f4044
)
- fix segfault
author
Bart Polot
<bart@net.in.tum.de>
Thu, 17 Oct 2013 15:09:57 +0000
(15:09 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Thu, 17 Oct 2013 15:09:57 +0000
(15:09 +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 abc04e8a2728f6290af607ab03b023dd221403b9..e966e7192f50417bc92583c84c84e3246c198bb8 100644
(file)
--- a/
src/mesh/gnunet-service-mesh_connection.c
+++ b/
src/mesh/gnunet-service-mesh_connection.c
@@
-1825,7
+1825,8
@@
GMC_destroy (struct MeshConnection *c)
/* Delete */
GNUNET_STATISTICS_update (stats, "# connections", -1, GNUNET_NO);
- GMT_remove_connection (c->t, c);
+ if (NULL != c->t)
+ GMT_remove_connection (c->t, c);
GNUNET_free (c);
}