summaryrefslogtreecommitdiff
path: root/gvdb-builder.c
diff options
context:
space:
mode:
Diffstat (limited to 'gvdb-builder.c')
-rw-r--r--gvdb-builder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gvdb-builder.c b/gvdb-builder.c
index 3942667..b8ecbe3 100644
--- a/gvdb-builder.c
+++ b/gvdb-builder.c
@@ -339,6 +339,8 @@ file_builder_allocate_for_hash (FileBuilder *fb,
#undef chunk
memset (*bloom_filter, 0, n_bloom_words * sizeof (guint32_le));
+ memset (*hash_buckets, 0, n_buckets * sizeof (guint32_le));
+ memset (*hash_items, 0, n_items * sizeof (struct gvdb_hash_item));
/* NOTE - the code to actually fill in the bloom filter here is missing.
* Patches welcome!