[vtkusers] This code gives memory leak.. Why?

John Drescher drescherjm at gmail.com
Wed Jul 7 10:19:32 EDT 2010


>>What can i do to avoid this memory leaks.,?

Use vtkSmartPointer

see the examples in the wiki for usage.

http://www.cmake.org/Wiki/VTK/Examples/GuideLines

John



More information about the vtkusers mailing list