Fixed my delete[] mistake