diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-07-25 21:35:36 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-07-25 21:35:36 +0000 |
commit | 3ace86cc6a790b8a58554cfdc1c1a9077517224e (patch) | |
tree | ba458a4d5bbd861ff2fa07d33231fd87056b4ef8 /src/transport/plugin_transport_udp.c | |
parent | 6446293d028db5fe66c53f70ab8194f6c47f3fa1 (diff) | |
download | gnunet-3ace86cc6a790b8a58554cfdc1c1a9077517224e.tar.gz gnunet-3ace86cc6a790b8a58554cfdc1c1a9077517224e.zip |
-unregister nat on error, indentation, DCE
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r-- | src/transport/plugin_transport_udp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index 7b9a78eb4..35ae92460 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -3997,6 +3997,8 @@ libgnunet_plugin_transport_udp_init (void *cls) | |||
3997 | GNUNET_CONTAINER_multipeermap_destroy (p->sessions); | 3997 | GNUNET_CONTAINER_multipeermap_destroy (p->sessions); |
3998 | GNUNET_CONTAINER_heap_destroy (p->defrag_ctxs); | 3998 | GNUNET_CONTAINER_heap_destroy (p->defrag_ctxs); |
3999 | GNUNET_SERVER_mst_destroy (p->mst); | 3999 | GNUNET_SERVER_mst_destroy (p->mst); |
4000 | if (NULL != p->nat) | ||
4001 | GNUNET_NAT_unregister (p->nat); | ||
4000 | GNUNET_free (p); | 4002 | GNUNET_free (p); |
4001 | return NULL; | 4003 | return NULL; |
4002 | } | 4004 | } |