I have an class A which uses a heap memory allocation for one of its fields. Class A is instantiated and stored as a pointer field in another class (clas
class A
clas
You should delete A yourself in the destructor of B.