提交 4deaaa4d 编写于 作者: M Maxim Zhukov 提交者: Michal Marek

scripts: genksyms: fix resource leak

This commit fixed resource leak at func main
Signed-off-by: NMaxim Zhukov <mussitantesmortem@gmail.com>
Signed-off-by: NMichal Marek <mmarek@suse.com>
上级 dbacb0ef
......@@ -873,5 +873,8 @@ int main(int argc, char **argv)
(double)nsyms / (double)HASH_BUCKETS);
}
if (dumpfile)
fclose(dumpfile);
return errors != 0;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册