Skip to content

Fix memory leaks in vtkOpenGLRenderer::DonePick()

Max Smolens requested to merge msmolens/vtk:fix-pick-leak into master

The GetPixelData() and GetZbufferData() methods of vtkOpenGLRenderWindow return arrays allocated with operator new[]. In vtkOpenGLRenderer::DonePick(), ensure that the arrays returned by those methods are deleted.

Merge request reports

Loading