diff options
author | Alexandre Torgue <alexandre.torgue@st.com> | 2019-02-14 17:54:24 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-02-20 10:40:39 +0100 |
commit | cd8c9b5a49576bf28990237715bc2cb2210ac80a (patch) | |
tree | bacad788ca8681679652b7e6906fbb16907846dd /drivers/pinctrl/sprd | |
parent | Merge tag 'sh-pfc-for-v5.1-tag2' of git://git.kernel.org/pub/scm/linux/kernel... (diff) | |
download | linux-cd8c9b5a49576bf28990237715bc2cb2210ac80a.tar.xz linux-cd8c9b5a49576bf28990237715bc2cb2210ac80a.zip |
pinctrl: stm32: fix memory leak issue
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>
Diffstat (limited to 'drivers/pinctrl/sprd')
0 files changed, 0 insertions, 0 deletions