Did you consider to use `xcalloc` to reimplement `lalloc_clear`?