Commit 3b94273
committed
Fix memory leaks in vtkOpenGLRenderer::DonePick()
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.1 parent c94d5bb commit 3b94273
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
719 | 719 | | |
720 | 720 | | |
721 | 721 | | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
722 | 725 | | |
723 | 726 | | |
724 | 727 | | |
| |||
0 commit comments