aboutsummaryrefslogtreecommitdiff
path: root/src/nat
diff options
context:
space:
mode:
Diffstat (limited to 'src/nat')
-rw-r--r--src/nat/nat_api.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nat/nat_api.c b/src/nat/nat_api.c
index 5b4c39682..810d35649 100644
--- a/src/nat/nat_api.c
+++ b/src/nat/nat_api.c
@@ -714,6 +714,11 @@ GNUNET_NAT_unregister (struct GNUNET_NAT_Handle *nh)
714 GNUNET_MQ_destroy (nh->mq); 714 GNUNET_MQ_destroy (nh->mq);
715 nh->mq = NULL; 715 nh->mq = NULL;
716 } 716 }
717 if (NULL != nh->reconnect_task)
718 {
719 GNUNET_SCHEDULER_cancel (nh->reconnect_task);
720 nh->reconnect_task = NULL;
721 }
717 GNUNET_free (nh->reg); 722 GNUNET_free (nh->reg);
718 GNUNET_free (nh); 723 GNUNET_free (nh);
719} 724}