On Tue, Dec 1, 2015 at 3:19 PM, Ludovic Desroches
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
> Reported-by: Yingjoe Chen
On Tue, Dec 1, 2015 at 3:19 PM, Ludovic Desroches
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
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
Reported-by: Yingjoe Chen
---
drivers/pinctrl/pinctrl-at91-pio4.c | 15 +--
1 file
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
Reported-by: Yingjoe Chen
---
4 matches
Mail list logo