Infinite loop after memory de-allocation : I have some issues with my code during my memory deallocaiton process. Here is the error I am getting: [![I make it to the part where my memory should be deallocated but instead of deallocation I get an infinite loop][1]][1]

    bool LinkedList::addArtist(){
	cout << "Enter artist name: ";
	char *name = new char[0]();
	cin >> name;
	cin.ignore(1);
	'/n';

	cout << "Enter artists top story: ";
	char *topStory = new char[0];
	cin >> topStory;
	cin.ignore(1);
	'/n';

	cout << "Enter artist description: ";
	char *description = new char[0];
	cin >> description;
	cin.ignore(1);
	'/n';

	this->addAtBeginning(*&name, *&topStory, *&description);

	cout << "made it out" << endl;
	delete[] name;
	delete[] topStory;
	delete[] description;
	return true;
}

as you can see I get the "made it out" notification yet my program gets frozen and doesn't allow me to do anything. Any thoughts?



  [1]: https://i.stack.imgur.com/TOUDh.png