[vtkusers] memory leaks in a c++ programm with vtk

Justus Kreuels Justus.Kreuels at rwth-aachen.de
Tue Jun 27 05:45:50 EDT 2006


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. 

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

More information about the vtkusers mailing list