From 9bddb14a0a14168e2b6fc5ca1cd499e2f48a0ffe Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 21 Aug 2019 11:03:52 +0200 Subject: [PATCH] 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); -- 2.25.1