summaryrefslogtreecommitdiff
path: root/drivers/base/devres.c
diff options
context:
space:
mode:
authorAlexandre Torgue <alexandre.torgue@st.com>2019-02-14 17:54:24 +0100
committerLinus Walleij <linus.walleij@linaro.org>2019-02-20 10:40:39 +0100
commitcd8c9b5a49576bf28990237715bc2cb2210ac80a (patch)
treebacad788ca8681679652b7e6906fbb16907846dd /drivers/base/devres.c
parent44df22e7ce156499350a723ab3186d45911f00cd (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