mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 21:32:56 +00:00
Close input file handler yyin after yyparse
This commit is contained in:
committed by
Damien Lespiau
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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user