projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/scripts/genksyms/genksyms.c
b/scripts/genksyms/genksyms.c
index dafaf96e0a34baea94d4b4e5f171f9ce0e53927e..06121ce524a76006072459d352d727b4aebdf203 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;
}