Commit 4deaaa4d authored by Maxim Zhukov's avatar Maxim Zhukov Committed by Michal Marek

scripts: genksyms: fix resource leak

This commit fixed resource leak at func main
Signed-off-by: default avatarMaxim Zhukov <mussitantesmortem@gmail.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
parent dbacb0ef
...@@ -873,5 +873,8 @@ int main(int argc, char **argv) ...@@ -873,5 +873,8 @@ int main(int argc, char **argv)
(double)nsyms / (double)HASH_BUCKETS); (double)nsyms / (double)HASH_BUCKETS);
} }
if (dumpfile)
fclose(dumpfile);
return errors != 0; return errors != 0;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment