aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-10-07 09:20:44 +0000
committerChristian Grothoff <christian@grothoff.org>2015-10-07 09:20:44 +0000
commit886d8cda082a8005c1a73a6d6603b9791121a7ae (patch)
tree3797b0918e1b33d0a999e1335badda9fcb845655 /src/transport
parent5a4ffefaef89776bf7f983501d9267f42e6435d1 (diff)
downloadgnunet-886d8cda082a8005c1a73a6d6603b9791121a7ae.tar.gz
gnunet-886d8cda082a8005c1a73a6d6603b9791121a7ae.zip
-do not leave PPT timeout tasks behind
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/plugin_transport_udp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c
index c7ee5b6e5..7c36e172c 100644
--- a/src/transport/plugin_transport_udp.c
+++ b/src/transport/plugin_transport_udp.c
@@ -3889,6 +3889,11 @@ libgnunet_plugin_transport_udp_done (void *cls)
3889 plugin->ppc_dll_tail, 3889 plugin->ppc_dll_tail,
3890 cur); 3890 cur);
3891 GNUNET_RESOLVER_request_cancel (cur->resolver_handle); 3891 GNUNET_RESOLVER_request_cancel (cur->resolver_handle);
3892 if (NULL != cur->timeout_task)
3893 {
3894 GNUNET_SCHEDULER_cancel (cur->timeout_task);
3895 cur->timeout_task = NULL;
3896 }
3892 GNUNET_free (cur); 3897 GNUNET_free (cur);
3893 } 3898 }
3894 GNUNET_free (plugin); 3899 GNUNET_free (plugin);