mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 22:24:11 +08:00
genksyms: close ref_file after use
It is the last place when the file is read, so close it. Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
parent
da60fbbcb6
commit
c64152bfd0
@ -758,8 +758,10 @@ int main(int argc, char **argv)
|
||||
/* setlinebuf(debugfile); */
|
||||
}
|
||||
|
||||
if (flag_reference)
|
||||
if (flag_reference) {
|
||||
read_reference(ref_file);
|
||||
fclose(ref_file);
|
||||
}
|
||||
|
||||
yyparse();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user