aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_download.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-08-21 11:03:52 +0200
committerChristian Grothoff <christian@grothoff.org>2019-08-21 11:03:52 +0200
commit9bddb14a0a14168e2b6fc5ca1cd499e2f48a0ffe (patch)
tree912657cb3a7ce2fcad87286cb183616796d3b5b9 /src/fs/fs_download.c
parent21796ec12ca82821c545143eb4722a72942b6df1 (diff)
downloadgnunet-9bddb14a0a14168e2b6fc5ca1cd499e2f48a0ffe.tar.gz
gnunet-9bddb14a0a14168e2b6fc5ca1cd499e2f48a0ffe.zip
do not free hashmap while iterating over it, unhealthy, even in error case
Diffstat (limited to 'src/fs/fs_download.c')
-rw-r--r--src/fs/fs_download.c2
1 files changed, 0 insertions, 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:
1264 dc->mq = NULL; 1264 dc->mq = NULL;
1265 GNUNET_FS_free_download_request_ (dc->top_request); 1265 GNUNET_FS_free_download_request_ (dc->top_request);
1266 dc->top_request = NULL; 1266 dc->top_request = NULL;
1267 GNUNET_CONTAINER_multihashmap_destroy (dc->active);
1268 dc->active = NULL;
1269 if (NULL != dc->job_queue) 1267 if (NULL != dc->job_queue)
1270 { 1268 {
1271 GNUNET_FS_dequeue_ (dc->job_queue); 1269 GNUNET_FS_dequeue_ (dc->job_queue);