Hi Alberto, On Fri, 21 Mar 2003, Alberto Pulvirenti wrote: > Hello, > > I have a question. > Suppose that I have two different TObjArray or TList which contain an > instance of a certain object. When I delete it from the first > TObjArray/TList, have I to do something with the other one in order to > avoid segfault errors? yes, before deleting the object in the collection owning the object, you should remove it from the non-owner collection. Rene Brun > > Thanks > > Alberto >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET