Re: [PATCH] mfd: pcf50633: Fix some memory leaks in the error handling path of 'pcf50633_probe()'
From: Lee Jones
Date: Thu Mar 15 2018 - 04:17:00 EST
On Wed, 14 Mar 2018, Christophe JAILLET wrote:
> If a 'platform_device_alloc()' call fails, we still need to release the
> resources that have already been allocated before returning.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---
> drivers/mfd/pcf50633-core.c | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
Applied, thanks.
--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog