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
Branches
Tags
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.
Please register or to comment