[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 01/02: fix leak
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 01/02: fix leak |
Date: |
Wed, 25 Jan 2017 15:53:46 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit 93d202bdabc1aef0352c7054e8933b036c7adef0
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Jan 25 15:50:27 2017 +0100
fix leak
---
src/cadet/gnunet-service-cadet-new_channel.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/cadet/gnunet-service-cadet-new_channel.c
b/src/cadet/gnunet-service-cadet-new_channel.c
index 753634c62..c3d5ef194 100644
--- a/src/cadet/gnunet-service-cadet-new_channel.c
+++ b/src/cadet/gnunet-service-cadet-new_channel.c
@@ -1339,6 +1339,7 @@ data_sent_cb (void *cls)
crm);
if (GNUNET_NO == ch->reliable)
{
+ GNUNET_free (crm->data_message);
GNUNET_free (crm);
ch->pending_messages--;
send_ack_to_client (ch,
@@ -1361,6 +1362,7 @@ data_sent_cb (void *cls)
crm);
if (NULL != ch->retry_data_task)
GNUNET_SCHEDULER_cancel (ch->retry_data_task);
+ GNUNET_assert (NULL == crm->qe);
ch->retry_data_task
= GNUNET_SCHEDULER_add_delayed (crm->retry_delay,
&retry_transmission,
--
To stop receiving notification emails like this one, please contact
address@hidden