Re: [PATCH] pinctrl: Fix potential memory leak in pinctrl_register_one_pin()

2012-09-26 Thread Linus Walleij
On Tue, Sep 25, 2012 at 9:11 AM, Sachin Kamat wrote: > 'pindesc' was not freed when returning from an error induced > exit path. > > Signed-off-by: Sachin Kamat Thanks, patch applied! Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH] pinctrl: Fix potential memory leak in pinctrl_register_one_pin()

2012-09-26 Thread Linus Walleij
On Tue, Sep 25, 2012 at 9:11 AM, Sachin Kamat sachin.ka...@linaro.org wrote: 'pindesc' was not freed when returning from an error induced exit path. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Thanks, patch applied! Linus Walleij -- To unsubscribe from this list: send the line

[PATCH] pinctrl: Fix potential memory leak in pinctrl_register_one_pin()

2012-09-25 Thread Sachin Kamat
'pindesc' was not freed when returning from an error induced exit path. Signed-off-by: Sachin Kamat --- drivers/pinctrl/core.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c index dc5c126..0f1ec9e 100644 ---

[PATCH] pinctrl: Fix potential memory leak in pinctrl_register_one_pin()

2012-09-25 Thread Sachin Kamat
'pindesc' was not freed when returning from an error induced exit path. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/pinctrl/core.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c index