[vtkusers] memory leaks in a c++ programm with vtk
Peter F Bradshaw
pfb at exadios.com
Tue Jun 27 20:29:07 EDT 2006
On Tue, 27 Jun 2006, Justus Kreuels wrote:
> When I Create vtk-Objects as Membervariables of a c++ class, i get an
> error when i delete these objects in the destructur of the class.
What is the error you get?
Does this happen with all your vtk member variables or just one or two?
> When I don't delete the objects my programm has memory leaks.
> When I greate a vtk-Object only local in a function, it's no problem to
> use the delete-Method of the Object.
> What could be the reason for this behaviour. I use VS 2005 and Windows
> XP. With VS 7.0 I had the same problem.
> Thank you very Much
> Justus Kreuels
Peter F Bradshaw, http://www.exadios.com
Public key at www.exadios.com/pfb.pgp.key and www.exadios.com/pfb.gpg.key
Personal site: http://personal.exadios.com
"I love truth, and the way the government still uses it occasionally to
keep us guessing." - Sam Kekovich.
More information about the vtkusers