DLL remove already done inside of call_peer_cont()
authorChristian Grothoff <christian@grothoff.org>
Mon, 9 Jan 2017 06:22:14 +0000 (07:22 +0100)
committerChristian Grothoff <christian@grothoff.org>
Mon, 9 Jan 2017 06:22:14 +0000 (07:22 +0100)
src/cadet/gnunet-service-cadet_peer.c

index 9835e5d5e6a50bd85cb473c69f4b8ebbcc10c718..f149fd31f47a0fb4f423cf562b2522014fef4e7c 100644 (file)
@@ -1208,7 +1208,6 @@ GCP_send (struct CadetPeer *peer,
                  q->payload_id, GCC_2s (c), GC_f2s (q->c_fwd));
             GNUNET_MQ_discard (q->env);
             call_peer_cont (q, GNUNET_YES);
-           GNUNET_CONTAINER_DLL_remove (peer->q_head, peer->q_tail, q);
             GNUNET_free (q);
             return NULL;
         }