[vtkusers] Recreating a smart pointer object after deletion

David Doria daviddoria at gmail.com
Tue Nov 23 13:00:14 EST 2010


> Are you sure there is a leak?  Why do you think the first FloatArray isn't
> being deleted?  Show me the evidence!
>
>   David
>

No, I'm not sure. VTK_DEBUG_LEAKS is NOT complaining, it just seemed
like the first object shouldn't just magically go away. But maybe this
IS the case. I guess the smart pointer can only hold one reference, so
when it takes the new object it automatically deletes the old object?

David D



More information about the vtkusers mailing list