projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21796ec
)
do not free hashmap while iterating over it, unhealthy, even in error case
author
Christian Grothoff
<christian@grothoff.org>
Wed, 21 Aug 2019 09:03:52 +0000
(11:03 +0200)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 21 Aug 2019 09:03:52 +0000
(11:03 +0200)
src/fs/fs_download.c
patch
|
blob
|
history
diff --git
a/src/fs/fs_download.c
b/src/fs/fs_download.c
index c138ee3654a799a17c606ae8ee44af9a65adabe2..2d64bba1120c71da0a3a5bee40539ba14b7a6882 100644
(file)
--- 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);