summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_wlan.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-26 21:57:41 +0000
committerChristian Grothoff <christian@grothoff.org>2015-01-26 21:57:41 +0000
commit16ecacc41c1238bb327969a09778c25059ea7304 (patch)
tree26c21d324fc304125b4fa527019f1d58fa63d1a8 /src/transport/plugin_transport_wlan.c
parentb1970ab977139ccc00cdc05c6df3f20b676e56ea (diff)
-fc not done here, do not null
Diffstat (limited to 'src/transport/plugin_transport_wlan.c')
-rw-r--r--src/transport/plugin_transport_wlan.c3
1 files changed, 1 insertions, 2 deletions
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)
{