aboutsummaryrefslogtreecommitdiff
path: root/src/util/container_bloomfilter.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-10-19 11:32:39 +0000
committerChristian Grothoff <christian@grothoff.org>2009-10-19 11:32:39 +0000
commit424bc9f7e0d26b1c1ef9e68d464636249fd8feec (patch)
treea8d542aae1b55ee2e24312119b089d014f977f90 /src/util/container_bloomfilter.c
parente9b2b4007f75dee7837e50edf385cd965a8a4a64 (diff)
downloadgnunet-424bc9f7e0d26b1c1ef9e68d464636249fd8feec.tar.gz
gnunet-424bc9f7e0d26b1c1ef9e68d464636249fd8feec.zip
cleaner
Diffstat (limited to 'src/util/container_bloomfilter.c')
-rw-r--r--src/util/container_bloomfilter.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/util/container_bloomfilter.c b/src/util/container_bloomfilter.c
index 612bad92f..1ed09296d 100644
--- a/src/util/container_bloomfilter.c
+++ b/src/util/container_bloomfilter.c
@@ -551,11 +551,9 @@ GNUNET_CONTAINER_bloomfilter_free (struct GNUNET_CONTAINER_BloomFilter *bf)
551{ 551{
552 if (NULL == bf) 552 if (NULL == bf)
553 return; 553 return;
554 if (bf->filename != NULL) 554 if (bf->fh != NULL)
555 { 555 GNUNET_DISK_file_close (bf->fh);
556 GNUNET_DISK_file_close (bf->fh); 556 GNUNET_free_non_null (bf->filename);
557 GNUNET_free (bf->filename);
558 }
559 GNUNET_free (bf->bitArray); 557 GNUNET_free (bf->bitArray);
560 GNUNET_free (bf); 558 GNUNET_free (bf);
561} 559}