Commit 6cb1cb62 authored by Mathieu Malaterre's avatar Mathieu Malaterre

ENH: Fix mem leaks

parent 30e7495d
......@@ -28,7 +28,7 @@
#include <math.h>
vtkCxxRevisionMacro(vtkCarbonRenderWindow, "1.28");
vtkCxxRevisionMacro(vtkCarbonRenderWindow, "1.29");
vtkStandardNewMacro(vtkCarbonRenderWindow);
......@@ -346,7 +346,6 @@ vtkCarbonRenderWindow::vtkCarbonRenderWindow()
this->ParentId = 0;
this->StereoType = 0;
this->SetWindowName("Visualization Toolkit - Carbon");
this->TextureResourceIds = vtkIdList::New();
this->CursorHidden = 0;
this->ForceMakeCurrent = 0;
}
......
......@@ -28,8 +28,6 @@
#include <OpenGL/gl.h> // Carbon and MAC specific
#include <AGL/agl.h> // Carbon and MAC specific
class vtkIdList;
class VTK_RENDERING_EXPORT vtkCarbonRenderWindow : public vtkOpenGLRenderWindow
{
public:
......
......@@ -238,7 +238,6 @@ protected:
int OwnWindow;
int ScreenSize[2];
int MultiSamples;
vtkIdList *TextureResourceIds;
// the following is used to support rendering into memory
// void *MemoryDataHeader;
......
......@@ -31,7 +31,7 @@
#define id Id // since id is a reserved token in ObjC and is used a _lot_ in vtk
vtkCxxRevisionMacro(vtkCocoaRenderWindow, "1.21");
vtkCxxRevisionMacro(vtkCocoaRenderWindow, "1.22");
vtkStandardNewMacro(vtkCocoaRenderWindow);
......@@ -47,7 +47,6 @@ vtkCocoaRenderWindow::vtkCocoaRenderWindow()
this->DeviceContext = 0; // hsr
this->StereoType = 0;
this->SetWindowName("Visualization Toolkit - Cocoa");
this->TextureResourceIds = vtkIdList::New();
this->CursorHidden = 0;
this->ForceMakeCurrent = 0;
this->Capabilities = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment