[vtkusers] Leak in derived rubberband style class
Bill Lorensen
bill.lorensen at gmail.com
Tue Feb 2 20:00:01 EST 2010
You left out the vtkTypeRevisionMacro. I( think DebugLeaks was
confused. Didn't this happen to you before?
On Tue, Feb 2, 2010 at 6:32 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> In this example:
> http://www.vtk.org/Wiki/VTK/Examples/Interaction/RubberBand2D
> Isn't the smart pointer responsible for deleting the rubber band style?
> The output is currently:
>
> vtkDebugLeaks has detected LEAKS!
> Class "MyRubberBand" has 1 instance still around.
> Generic Warning: In /home/doriad/src/VTK/Common/vtkDebugLeaks.cxx, line 296
> Deleting unknown object: vtkInteractorStyleRubberBand2D
> Any thoughts?
> Thanks,
>
> David
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
More information about the vtkusers
mailing list