Commit 1fb75b8f authored by James Lamanna's avatar James Lamanna Committed by Linus Torvalds

[PATCH] s390: vfree checking cleanup

arch/s390/kernel/module.c vfree() checking cleanup.
Signed-off-by: default avatarJames Lamanna <jlamanna@gmail.com>
Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent dffdf0a5
...@@ -396,8 +396,7 @@ int module_finalize(const Elf_Ehdr *hdr, ...@@ -396,8 +396,7 @@ int module_finalize(const Elf_Ehdr *hdr,
const Elf_Shdr *sechdrs, const Elf_Shdr *sechdrs,
struct module *me) struct module *me)
{ {
if (me->arch.syminfo) vfree(me->arch.syminfo);
vfree(me->arch.syminfo);
return 0; return 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