summaryrefslogtreecommitdiff
path: root/src/memfile_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/memfile_test.c')
-rw-r--r--src/memfile_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memfile_test.c b/src/memfile_test.c
index 0fa1e14c4..8408498e9 100644
--- a/src/memfile_test.c
+++ b/src/memfile_test.c
@@ -67,7 +67,7 @@ test_mf_hash(void)
assert(mf_hash_find(&ht, key) == NULL);
/* allocate and add new item */
- item = (mf_hashitem_T *)lalloc_clear(sizeof(mf_hashtab_T), FALSE);
+ item = LALLOC_CLEAR_ONE(mf_hashtab_T);
assert(item != NULL);
item->mhi_key = key;
mf_hash_add_item(&ht, item);