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/base/devres.c | |
parent | 44df22e7ce156499350a723ab3186d45911f00cd (diff) |
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/base/devres.c')
0 files changed, 0 insertions, 0 deletions