summaryrefslogtreecommitdiff
path: root/src/set/ibf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/set/ibf.c')
-rw-r--r--src/set/ibf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/set/ibf.c b/src/set/ibf.c
index 4d40f1f35..152f9b190 100644
--- a/src/set/ibf.c
+++ b/src/set/ibf.c
@@ -78,7 +78,7 @@ ibf_create (uint32_t size, uint8_t hash_num)
/* TODO: use malloc_large */
- ibf = GNUNET_malloc (sizeof (struct InvertibleBloomFilter));
+ ibf = GNUNET_new (struct InvertibleBloomFilter);
ibf->count = GNUNET_malloc (size * sizeof (uint8_t));
ibf->key_sum = GNUNET_malloc (size * sizeof (struct IBF_Key));
ibf->key_hash_sum = GNUNET_malloc (size * sizeof (struct IBF_KeyHash));