Fixed wrong delete operator (-> delete[])