Re: [PATCH v3] sparc: kernel/sbus.c: fix memory leakage

2013-01-21 Thread David Miller
From: Richard Mortimer Date: Mon, 21 Jan 2013 22:20:36 + > Reviewed-by: Richard Mortimer > > On 17/01/2013 13:28, Cong Ding wrote: >> The variable iommu and strbuf are not freed properly if it goes to >> error. >> >> Signed-off-by: Cong Ding Applied, thanks everyone. -- To unsubscribe fro

Re: [PATCH v3] sparc: kernel/sbus.c: fix memory leakage

2013-01-21 Thread Richard Mortimer
Reviewed-by: Richard Mortimer On 17/01/2013 13:28, Cong Ding wrote: The variable iommu and strbuf are not freed properly if it goes to error. Signed-off-by: Cong Ding --- arch/sparc/kernel/sbus.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/sparc/kerne

[PATCH v3] sparc: kernel/sbus.c: fix memory leakage

2013-01-17 Thread Cong Ding
The variable iommu and strbuf are not freed properly if it goes to error. Signed-off-by: Cong Ding --- arch/sparc/kernel/sbus.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/sparc/kernel/sbus.c b/arch/sparc/kernel/sbus.c index 1271b3a..be5bdf9 100644 --- a/ar