gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: fix #5586


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: fix #5586
Date: Tue, 19 Feb 2019 10:52:49 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 25333278f fix #5586
25333278f is described below

commit 25333278f926cddc9042ee6db29cc25e6673692b
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Feb 19 10:52:46 2019 +0100

    fix #5586
---
 src/fs/fs.conf.in                       | 3 +++
 src/fs/gnunet-service-fs_cadet_client.c | 9 +++++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/fs/fs.conf.in b/src/fs/fs.conf.in
index 92bcf776d..bd1d04001 100644
--- a/src/fs/fs.conf.in
+++ b/src/fs/fs.conf.in
@@ -11,6 +11,8 @@ BINARY = gnunet-service-fs
 ACCEPT_FROM = 127.0.0.1;
 ACCEPT_FROM6 = ::1;
 
+# PREFIX = valgrind
+
 # Do we introduce artificial delays? (may improve anonymity)
 DELAY = YES
 
@@ -58,6 +60,7 @@ DISABLE_ANON_TRANSFER = NO
 # well anyway, so better have a moderate cap.
 MAX_CADET_CLIENTS = 128
 
+PREFIX = valgrind
 
 [gnunet-auto-share]
 BINARY = gnunet-auto-share
diff --git a/src/fs/gnunet-service-fs_cadet_client.c 
b/src/fs/gnunet-service-fs_cadet_client.c
index 61f73a50a..e6ece4346 100644
--- a/src/fs/gnunet-service-fs_cadet_client.c
+++ b/src/fs/gnunet-service-fs_cadet_client.c
@@ -11,7 +11,7 @@
      WITHOUT ANY WARRANTY; without even the implied warranty of
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      Affero General Public License for more details.
-    
+
      You should have received a copy of the GNU Affero General Public License
      along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
@@ -741,7 +741,12 @@ GSF_cadet_release_clients (void *cls,
              "Timeout on cadet channel to %s\n",
              GNUNET_i2s (&mh->target));
   if (NULL != mh->channel)
-    GNUNET_CADET_channel_destroy (mh->channel);
+  {
+    struct GNUNET_CADET_Channel *channel = mh->channel;
+
+    mh->channel = NULL;
+    GNUNET_CADET_channel_destroy (channel);
+  }
   return GNUNET_YES;
 }
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]