Re[2]: memory leaks

2005-06-08 Thread Laurence Finston
On Wed, 8 Jun 2005, Laurence Finston wrote: > If you only ever delete objects by means of their corresponding > 'Object_Type::object' pointers, than it would be safe to use simple > pointers to 'Foo*'. Sorry, I meant "simple pointers to 'Foo'". Laurence

Re[2]: memory leaks

2005-06-08 Thread Laurence Finston
On Tue, 7 Jun 2005, hz kto wrote: > > > If I have a list like this wouldn't I run into the problem when, > a parent node deletes some child nodes, then when I come across > this child in the list, I will crash since it has been deleted already? That was the point of the following remark: > > Dep

Re[2]: memory leaks

2005-06-07 Thread hz kto
If I have a list like this wouldn't I run into the problem when, a parent node deletes some child nodes, then when I come across this child in the list, I will crash since it has been deleted already? Ugrading to 2.0 is not easy, since different parts of software are using Bison, which is slight