Skip to content
Snippets Groups Projects
Commit 7bcf2313 authored by Dave DeMarle's avatar Dave DeMarle
Browse files

COMP: fix a valgrind leak in new test

Change-Id: I2ef4a1643fee0e7ef8d10cd49c398d2128e020b7
parent d78993aa
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment