diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-08-21 11:03:52 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-08-21 11:03:52 +0200 |
commit | 9bddb14a0a14168e2b6fc5ca1cd499e2f48a0ffe (patch) | |
tree | 912657cb3a7ce2fcad87286cb183616796d3b5b9 /src/fs/fs_download.c | |
parent | 21796ec12ca82821c545143eb4722a72942b6df1 (diff) | |
download | gnunet-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.c | 2 |
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); |