I wanted to clarify this point. Assuming a class definition like this:
C * c;
A* a = A::NewL();
a->b = B::NewL();
and so each object member within a is created.
//do some operation
Will the pop and destroy operation automatically reclaim the memory allocated for the member objects as well?