Commit 7bcf2313 authored by Dave DeMarle's avatar Dave DeMarle

COMP: fix a valgrind leak in new test

Change-Id: I2ef4a1643fee0e7ef8d10cd49c398d2128e020b7
parent d78993aa
......@@ -1193,9 +1193,11 @@ int TestGPURayCastVolumeUpdate(int argc, char *argv[])
vtkNew<vtkGPUVolumeRayCastMapper> volumeMapper;
vtkNew<vtkXMLImageDataReader> reader;
const char* volumeFile = vtkTestUtilities::ExpandDataFileName(
char* volumeFile = vtkTestUtilities::ExpandDataFileName(
argc, argv, "Data/vase_1comp.vti");
reader->SetFileName(volumeFile);
delete[] volumeFile;
volumeMapper->SetInputConnection(reader->GetOutputPort());
// Add outline filter
......
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