fix
authorChristian Grothoff <christian@grothoff.org>
Wed, 12 May 2010 15:21:56 +0000 (15:21 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 12 May 2010 15:21:56 +0000 (15:21 +0000)
src/datastore/datastore_api.c

index 65a519e598c38945162ac04a78579f33598eb452..ef3dccbf670fff587eede1f5c9bf9a514dad3257 100644 (file)
@@ -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);
 }