I've been debugging a "segmentation fault" error, which boils down to some dynamically allocated memory gets altered at places where no pointer to the address was used.
I'm now puzzled since there didn't seem to be any illegal memory reference. I was under the impression that dynamically allocated memory will not be recycled unless it's explicitly freed. Can someone confirm this? thanks.