From: Christian Grothoff Date: Wed, 21 Aug 2019 09:03:52 +0000 (+0200) Subject: do not free hashmap while iterating over it, unhealthy, even in error case X-Git-Tag: v0.11.7~178 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9bddb14a0a14168e2b6fc5ca1cd499e2f48a0ffe;p=oweals%2Fgnunet.git do not free hashmap while iterating over it, unhealthy, even in error case --- 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);