aboutsummaryrefslogtreecommitdiff
path: root/arch/ppc64/kernel/lparcfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc64/kernel/lparcfg.c')
-rw-r--r--arch/ppc64/kernel/lparcfg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ppc64/kernel/lparcfg.c b/arch/ppc64/kernel/lparcfg.c
index 9d034ff062b..edad361a8db 100644
--- a/arch/ppc64/kernel/lparcfg.c
+++ b/arch/ppc64/kernel/lparcfg.c
@@ -273,6 +273,7 @@ static void parse_system_parameter_string(struct seq_file *m)
if (!workbuffer) {
printk(KERN_ERR "%s %s kmalloc failure at line %d \n",
__FILE__, __FUNCTION__, __LINE__);
+ kfree(local_buffer);
return;
}
#ifdef LPARCFG_DEBUG