Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 597f95e2 authored by Joel Schopp's avatar Joel Schopp Committed by Paul Mackerras
Browse files

[PATCH] ppc64: lparconfig.c memory leak



This patch fixes a rare memory leak found by Coverity.

Signed-off-by: default avatarJoel Schopp <jschopp@austin.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 5ff98ae1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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