summaryrefslogtreecommitdiffstats
path: root/src/ckh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ckh.c')
-rw-r--r--src/ckh.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ckh.c b/src/ckh.c
index db2ae39..ad075d6 100644
--- a/src/ckh.c
+++ b/src/ckh.c
@@ -270,7 +270,8 @@ ckh_grow(tsd_t *tsd, ckh_t *ckh)
ret = true;
goto label_return;
}
- tab = (ckhc_t *)ipalloc(tsd, usize, CACHELINE, true);
+ tab = (ckhc_t *)ipalloct(tsd, usize, CACHELINE, true, NULL,
+ NULL);
if (tab == NULL) {
ret = true;
goto label_return;
@@ -313,7 +314,7 @@ ckh_shrink(tsd_t *tsd, ckh_t *ckh)
usize = sa2u(sizeof(ckhc_t) << lg_curcells, CACHELINE);
if (usize == 0)
return;
- tab = (ckhc_t *)ipalloc(tsd, usize, CACHELINE, true);
+ tab = (ckhc_t *)ipalloct(tsd, usize, CACHELINE, true, NULL, NULL);
if (tab == NULL) {
/*
* An OOM error isn't worth propagating, since it doesn't
@@ -389,7 +390,7 @@ ckh_new(tsd_t *tsd, ckh_t *ckh, size_t minitems, ckh_hash_t *hash,
ret = true;
goto label_return;
}
- ckh->tab = (ckhc_t *)ipalloc(tsd, usize, CACHELINE, true);
+ ckh->tab = (ckhc_t *)ipalloct(tsd, usize, CACHELINE, true, NULL, NULL);
if (ckh->tab == NULL) {
ret = true;
goto label_return;