[vtkusers] BUG: vtkOpenGLRenderer.cxx
Prabhu Ramachandran
prabhu at aero.iitm.ernet.in
Tue Oct 30 23:42:14 EST 2001
hi,
>>>>> "ADB" == Adam D Burry <aburry at igotechnologies.com> writes:
ADB> vtkOpenGLRenderer::~vtkOpenGLRenderer() { delete []
ADB> this->PickInfo->PickBuffer; delete this->PickInfo; }
ADB> The actual problem occurs at the end of
ADB> vtkOpenGLRenderer::DonePick() where the PickBuffer is deleted
ADB> but not set to null.
I believe this has been fixed in the VTK 4.0 tree.
vtkOpenGLRenderer::~vtkOpenGLRenderer()
{
if (this->PickInfo->PickBuffer)
{
delete [] this->PickInfo->PickBuffer;
this->PickInfo->PickBuffer = 0;
}
delete this->PickInfo;
}
prabhu
More information about the vtkusers
mailing list