提交 c64152bf 编写于 作者: A Alexander Beregalov 提交者: Michal Marek

genksyms: close ref_file after use

It is the last place when the file is read, so close it.
Signed-off-by: NAlexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: NMichal Marek <mmarek@suse.cz>
上级 da60fbbc
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册