Hi,
Code:
void A::A()
{
    B *b = new B;
    b->Setup(....);
}
I don't understand why when b is created on the stack. It would cause memory leaks.
I commented that part out, the leaks were gone. Any thoughts?
Thanks
Jack