From 0bba5c2a473984a776f37ff064e926e4f0742f24 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 12 May 2010 15:21:56 +0000 Subject: [PATCH] fix --- src/datastore/datastore_api.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/datastore/datastore_api.c b/src/datastore/datastore_api.c index 65a519e59..ef3dccbf6 100644 --- a/src/datastore/datastore_api.c +++ b/src/datastore/datastore_api.c @@ -289,16 +289,10 @@ timeout_queue_entry (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) { struct QueueEntry *qe = cls; - struct GNUNET_DATASTORE_Handle *h = qe->h; qe->task = GNUNET_SCHEDULER_NO_TASK; GNUNET_assert (qe->was_transmitted == GNUNET_NO); - GNUNET_CONTAINER_DLL_remove (h->queue_head, - h->queue_tail, - qe); - if (qe->response_proc != NULL) - qe->response_proc (qe, NULL); - GNUNET_free (qe); + qe->response_proc (qe, NULL); } -- 2.25.1