mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 02:16:17 +00:00
Close input file handler yyin after yyparse
This commit is contained in:
parent
f282ea689b
commit
302ca73198
@ -275,6 +275,9 @@ int main(int argc, char **argv)
|
||||
|
||||
err = yyparse();
|
||||
|
||||
if (yyin)
|
||||
fclose(yyin);
|
||||
|
||||
if (err || errors)
|
||||
exit (1);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user