[PATCH] pinctrl: at91-pio4: fix memleak after using dt map
Linus Walleij
linus.walleij at linaro.org
Thu Dec 10 09:26:43 PST 2015
On Tue, Dec 1, 2015 at 3:19 PM, Ludovic Desroches
<ludovic.desroches at atmel.com> wrote:
> configs is allocated by pinconf_generic_parse_dt_config(),
> pinctrl_utils_add_map_configs() duplicates configs so it can and has to
> be freed to prevent memory leaks.
>
> Signed-off-by: Ludovic Desroches <ludovic.desroches at atmel.com>
> Reported-by: Yingjoe Chen <yingjoe.chen at mediatek.com>
Patch applied.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list