Skip to content
Snippets Groups Projects
Commit c64152bf authored by Alexander Beregalov's avatar Alexander Beregalov Committed by Michal Marek
Browse files

genksyms: close ref_file after use


It is the last place when the file is read, so close it.

Signed-off-by: default avatarAlexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent da60fbbc
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment