do not free hashmap while iterating over it, unhealthy, even in error case
authorChristian Grothoff <christian@grothoff.org>
Wed, 21 Aug 2019 09:03:52 +0000 (11:03 +0200)
committerChristian Grothoff <christian@grothoff.org>
Wed, 21 Aug 2019 09:03:52 +0000 (11:03 +0200)
src/fs/fs_download.c

index c138ee3654a799a17c606ae8ee44af9a65adabe2..2d64bba1120c71da0a3a5bee40539ba14b7a6882 100644 (file)
@@ -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);