✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Analyze this destructor implementation:
Person::~Person() {
if(childrenList != nullptr) {
delete childrenList; // Note: delete, not delete[]
}
}
What is the primary issue with this code?