Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1288702

Re: [PATCH] pinctrl: at91-pio4: fix memleak after using dt map

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] pinctrl: at91-pio4: fix memleak after using dt map
Date 2015-12-10 18:30 +0100
Message-ID <qEdcu-Km-7@gated-at.bofh.it> (permalink)
References <qATWG-2hS-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Dec 1, 2015 at 3:19 PM, Ludovic Desroches
<ludovic.desroches@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@atmel.com>
> Reported-by: Yingjoe Chen <yingjoe.chen@mediatek.com>

Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] pinctrl: at91-pio4: fix memleak after using dt map Ludovic Desroches <ludovic.desroches@atmel.com> - 2015-12-01 15:20 +0100
  Re: [PATCH] pinctrl: at91-pio4: fix memleak after using dt map Linus Walleij <linus.walleij@linaro.org> - 2015-12-10 18:30 +0100

csiph-web