From 16ecacc41c1238bb327969a09778c25059ea7304 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 26 Jan 2015 21:57:41 +0000 Subject: -fc not done here, do not null --- src/transport/plugin_transport_wlan.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/transport/plugin_transport_wlan.c') diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index 9b60aea5c..e5080c046 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c @@ -949,7 +949,6 @@ fragment_transmission_done (void *cls, fm->sh = NULL; GNUNET_FRAGMENT_context_transmission_done (fm->fragcontext); - fm->fragcontext = NULL; } @@ -1007,7 +1006,6 @@ transmit_fragment (void *cls, else { GNUNET_FRAGMENT_context_transmission_done (fm->fragcontext); - fm->fragcontext = NULL; } GNUNET_STATISTICS_update (endpoint->plugin->env->stats, "# bytes currently in buffers", @@ -1050,6 +1048,7 @@ free_fragment_message (struct FragmentMessage *fm) GNUNET_FRAGMENT_context_destroy (fm->fragcontext, &endpoint->msg_delay, &endpoint->ack_delay); + fm->fragcontext = NULL; } if (NULL != fm->timeout_task) { -- cgit v1.2.3