Skip to content
Snippets Groups Projects
Commit 110ca18c authored by David Gobbi's avatar David Gobbi
Browse files

Close the file after parsing the contents

parent dff70286
No related branches found
No related tags found
No related merge requests found
......@@ -533,6 +533,7 @@ FileInfo* vtkParse_Main(int argc, char* argv[])
/* parse the input file */
data = vtkParse_ParseFile(options.InputFileName, ifile, stderr);
fclose(ifile);
if (!data)
{
......
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