[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: TNG: Fixed bug of QueueEntry deleted too
From: |
gnunet |
Subject: |
[gnunet] branch master updated: TNG: Fixed bug of QueueEntry deleted too early. |
Date: |
Tue, 07 Feb 2023 18:15:39 +0100 |
This is an automated email from the git hooks/post-receive script.
t3sserakt pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 8af2bad39 TNG: Fixed bug of QueueEntry deleted too early.
8af2bad39 is described below
commit 8af2bad3915d5e3aeb87f2070392cf1df544307e
Author: t3sserakt <t3ss@posteo.de>
AuthorDate: Tue Feb 7 18:14:48 2023 +0100
TNG: Fixed bug of QueueEntry deleted too early.
---
src/transport/gnunet-service-tng.c | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/src/transport/gnunet-service-tng.c
b/src/transport/gnunet-service-tng.c
index 21aa46947..a1a46443e 100644
--- a/src/transport/gnunet-service-tng.c
+++ b/src/transport/gnunet-service-tng.c
@@ -2985,14 +2985,6 @@ free_fragment_tree (struct PendingMessage *root)
{
GNUNET_assert (frag == frag->qe->pm);
frag->qe->pm = NULL;
- GNUNET_CONTAINER_DLL_remove (frag->qe->queue->queue_head,
- frag->qe->queue->queue_tail,
- frag->qe);
- frag->qe->queue->queue_length--;
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Removing QueueEntry MID %lu from queue\n",
- frag->qe->mid);
- GNUNET_free (frag->qe);
}
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Free frag %p\n",
@@ -3059,16 +3051,6 @@ free_pending_message (struct PendingMessage *pm)
{
GNUNET_assert (pm == pm->qe->pm);
pm->qe->pm = NULL;
- GNUNET_CONTAINER_DLL_remove (pm->qe->queue->queue_head,
- pm->qe->queue->queue_tail,
- pm->qe);
- pm->qe->queue->queue_length--;
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Removing QueueEntry MID %lu from queue\n",
- pm->qe->mid);
- GNUNET_free (pm->qe);
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "QueueEntry MID freed\n");
}
if (NULL != pm->bpm)
{
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: TNG: Fixed bug of QueueEntry deleted too early.,
gnunet <=