[patch 2/8] s390: vfree checking cleanup.
From: Martin Schwidefsky (schwidefsky_at_de.ibm.com)
Date: 01/31/05
- Previous message: Martin Schwidefsky: "[patch 1/8] s390: core changes."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 31 Jan 2005 18:57:26 +0100 To: akpm@osdl.org, linux-kernel@vger.kernel.org
[patch 2/8] s390: vfree checking cleanup.
From: James Lamanna <jlamanna@gmail.com>
arch/s390/kernel/module.c vfree() checking cleanup.
Signed-off-by: James Lamanna <jlamanna@gmail.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
diffstat:
arch/s390/kernel/module.c | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
diff -urN linux-2.6/arch/s390/kernel/module.c linux-2.6-patched/arch/s390/kernel/module.c
--- linux-2.6/arch/s390/kernel/module.c 2004-12-24 22:35:27.000000000 +0100
+++ linux-2.6-patched/arch/s390/kernel/module.c 2005-01-31 18:51:20.000000000 +0100
@@ -396,8 +396,7 @@
const Elf_Shdr *sechdrs,
struct module *me)
{
- if (me->arch.syminfo)
- vfree(me->arch.syminfo);
+ vfree(me->arch.syminfo);
return 0;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Martin Schwidefsky: "[patch 1/8] s390: core changes."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|