Allocate enough for the null pointer terminating the lines array