projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbacb0e
)
scripts: genksyms: fix resource leak
author
Maxim Zhukov
<mussitantesmortem@gmail.com>
Tue, 12 Apr 2016 20:54:59 +0000
(23:54 +0300)
committer
Michal Marek
<mmarek@suse.com>
Wed, 20 Apr 2016 07:24:49 +0000
(09:24 +0200)
This commit fixed resource leak at func main
Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/genksyms/genksyms.c
patch
|
blob
|
history
diff --git
a/scripts/genksyms/genksyms.c
b/scripts/genksyms/genksyms.c
index
dafaf96
..
06121ce
100644
(file)
--- a/
scripts/genksyms/genksyms.c
+++ b/
scripts/genksyms/genksyms.c
@@
-873,5
+873,8
@@
int main(int argc, char **argv)
(double)nsyms / (double)HASH_BUCKETS);
}
+ if (dumpfile)
+ fclose(dumpfile);
+
return errors != 0;
}