[vtkusers] vtkCocoaRenderWindowInteractor - memory violation when dealloc
David Cole
dlrdave at aol.com
Wed Jan 29 07:47:42 EST 2014
Hi Aaron,
You should only Delete objects that you created with New.
Did you create all 3 of these objects with New yourself? (Or did one or
more of them come from getting the default object from the render
window....?)
Also, there's no need to *ever* call Delete if you use vtkSmartPointer
and vtkNew. I'd strongly recommend using vtkSmartPointer from VTK
client applications.
HTH,
David C.
More information about the vtkusers
mailing list