Commit 9a78aa1a authored by Ben Boeckel's avatar Ben Boeckel

vtkSLCReader: plug memory leak

Change-Id: I94a508d159219f833d6363ae1c9078c94aa06c47
parent 69601ed3
......@@ -472,6 +472,7 @@ void vtkSLCReader::ExecuteDataWithInformation(vtkDataObject *output_do,
default:
vtkErrorMacro(<< "Unknown SLC compression type: " <<
data_compression );
fclose(fp);
return;
}
void* outputSlice = output->GetScalarPointer(0, 0, z_counter);
......
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