If you use new[], you must use delete[]