scripts: genksyms: fix resource leak
This commit fixed resource leak at func main Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.com>
This commit is contained in:
parent
dbacb0ef67
commit
4deaaa4deb
|
@ -873,5 +873,8 @@ int main(int argc, char **argv)
|
|||
(double)nsyms / (double)HASH_BUCKETS);
|
||||
}
|
||||
|
||||
if (dumpfile)
|
||||
fclose(dumpfile);
|
||||
|
||||
return errors != 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue