[vtkusers] BUG: vtkOpenGLRenderer.cxx

Adam D. Burry aburry at igotechnologies.com
Tue Oct 30 17:34:26 EST 2001


Hi:

One of the developers here found what appears to be a minor bug in
vtkOpenGLRenderer.cxx in VTK-3.1.2. The bug appears manifests itself in
the destructor:

        vtkOpenGLRenderer::~vtkOpenGLRenderer()
        {
          delete [] this->PickInfo->PickBuffer;
          delete this->PickInfo;
        }

The actual problem occurs at the end of vtkOpenGLRenderer::DonePick()
where the PickBuffer is deleted but not set to null.

I searched the archive but didn't find anything about this. Any
suggestions why this is not affecting anyone else?

Adam

--
Mr. Adam D. Burry, Software Developer
aburry at igotechnologies.com



More information about the vtkusers mailing list