Commit 37789c1d authored by Ken Martin's avatar Ken Martin
Browse files

fix memory leak

parent e05a6592
......@@ -36,7 +36,7 @@
#include "vtkTriangleStrip.h"
#include "vtkVersion.h"
vtkCxxRevisionMacro(vtkOOGLExporter, "1.29");
vtkCxxRevisionMacro(vtkOOGLExporter, "1.30");
......@@ -286,8 +286,6 @@ void vtkOOGLExporter::WriteAnActor(vtkActor *anActor, FILE *fp, int count)
double p[3];
unsigned char *c;
vtkTransform *trans;
// see if the actor has a mapper. it could be an assembly
if (anActor->GetMapper() == NULL)
......@@ -299,10 +297,6 @@ void vtkOOGLExporter::WriteAnActor(vtkActor *anActor, FILE *fp, int count)
// first stuff out the transform
trans = vtkTransform::New();
// get the mappers input and matrix
ds = anActor->GetMapper()->GetInput();
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