mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-13 10:56:15 +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();
|
err = yyparse();
|
||||||
|
|
||||||
|
if (yyin)
|
||||||
|
fclose(yyin);
|
||||||
|
|
||||||
if (err || errors)
|
if (err || errors)
|
||||||
exit (1);
|
exit (1);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user