Allocate memory for terminating zero.