gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: do not free hashmap while i


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: do not free hashmap while iterating over it, unhealthy, even in error case
Date: Wed, 21 Aug 2019 11:05:31 +0200

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 9bddb14a0 do not free hashmap while iterating over it, unhealthy, even 
in error case
9bddb14a0 is described below

commit 9bddb14a0a14168e2b6fc5ca1cd499e2f48a0ffe
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Aug 21 11:03:52 2019 +0200

    do not free hashmap while iterating over it, unhealthy, even in error case
---
 src/fs/fs_download.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c
index c138ee365..2d64bba11 100644
--- a/src/fs/fs_download.c
+++ b/src/fs/fs_download.c
@@ -1264,8 +1264,6 @@ signal_error:
   dc->mq = NULL;
   GNUNET_FS_free_download_request_ (dc->top_request);
   dc->top_request = NULL;
-  GNUNET_CONTAINER_multihashmap_destroy (dc->active);
-  dc->active = NULL;
   if (NULL != dc->job_queue)
   {
     GNUNET_FS_dequeue_ (dc->job_queue);

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



reply via email to

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