commit | e43d2b75297e9a5d3fc154f28c8be95b9694b29b | [log] [tgz] |
---|---|---|
author | Ludovic Desroches <ludovic.desroches@atmel.com> | Tue Dec 01 15:19:02 2015 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Dec 10 18:26:19 2015 +0100 |
tree | 2ecd6039ea19ab7294022a7c9e4938d0139897b8 | |
parent | df8801a0739664b48f8c47b276e989b2c6d8bced [diff] |
pinctrl: at91-pio4: fix memleak after using dt map 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 <ludovic.desroches@atmel.com> Reported-by: Yingjoe Chen <yingjoe.chen@mediatek.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>