linux-yocto/drivers/pinctrl/stm32
Alexandre Torgue c319da0690 pinctrl: stm32: fix memory leak issue
commit cd8c9b5a49 upstream.

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: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-05 15:38:32 +01:00
..
Kconfig pinctrl: stm32: select IRQ_DOMAIN_HIERARCHY instead of depends on 2017-08-01 10:04:41 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pinctrl-stm32.c pinctrl: stm32: fix memory leak issue 2019-12-05 15:38:32 +01:00
pinctrl-stm32.h pinctrl: stm32: Implement .get_direction gpio_chip callback 2017-05-31 02:05:49 +02:00
pinctrl-stm32f429.c pinctrl: stm32: replace device_initcall() with arch_initcall() 2017-04-24 14:21:31 +02:00
pinctrl-stm32f469.c pinctrl: stm32: Add STM32F469 MCU support 2017-04-24 14:26:14 +02:00
pinctrl-stm32f746.c pinctrl: stm32: replace device_initcall() with arch_initcall() 2017-04-24 14:21:31 +02:00
pinctrl-stm32h743.c pinctrl: stm32: replace device_initcall() with arch_initcall() 2017-04-24 14:21:31 +02:00