From ee4cf6b63d2575d2548be36ea6fea80da4892433 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Mon, 30 Jul 2012 15:53:02 +0000 Subject: [PATCH] - timeout fix by harsha --- src/mesh/mesh_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c index 516e877e8..307364fef 100644 --- a/src/mesh/mesh_api.c +++ b/src/mesh/mesh_api.c @@ -600,9 +600,9 @@ timeout_transmission (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) mesh = th->tunnel->mesh; GNUNET_CONTAINER_DLL_remove (mesh->th_head, mesh->th_tail, th); + th->tunnel->packet_size = 0; if (GNUNET_YES == th_is_payload (th)) th->notify (th->notify_cls, 0, NULL); - th->tunnel->packet_size = 0; GNUNET_free (th); if ((NULL == mesh->th_head) && (NULL != mesh->th)) { -- 2.25.1