If the constructor of AnotherClass
allocates memory which isn't deallocated in ~AnotherClass
you will have a memory leak.
Andreas Brinck
2010-04-27 11:09:31
If the constructor of AnotherClass
allocates memory which isn't deallocated in ~AnotherClass
you will have a memory leak.