halloc_set_allocator must use realloc_func for the test allocation, and can't free it safely so must leak it.