get rid of zalloc_init and nb arg to zfree