diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/util/mq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/mq.c b/src/util/mq.c index 04129a7b4..68134881e 100644 --- a/src/util/mq.c +++ b/src/util/mq.c | |||
@@ -719,8 +719,8 @@ GNUNET_MQ_destroy (struct GNUNET_MQ_Handle *mq) | |||
719 | { | 719 | { |
720 | struct GNUNET_MQ_Envelope *ev; | 720 | struct GNUNET_MQ_Envelope *ev; |
721 | ev = mq->envelope_head; | 721 | ev = mq->envelope_head; |
722 | GNUNET_MQ_discard (ev); | ||
723 | GNUNET_CONTAINER_DLL_remove (mq->envelope_head, mq->envelope_tail, ev); | 722 | GNUNET_CONTAINER_DLL_remove (mq->envelope_head, mq->envelope_tail, ev); |
723 | GNUNET_MQ_discard (ev); | ||
724 | } | 724 | } |
725 | 725 | ||
726 | if (NULL != mq->current_envelope) | 726 | if (NULL != mq->current_envelope) |