char* prev_string_content = string_content; string_content = new char[memory_capacity];

이거 왜 delete 안하고 동적할당 하는거임?