commit | b04a23b05609b35365127ad8906c55866eb47fe7 | [log] [tgz] |
---|---|---|
author | Hongzhou Yang <hongzhou.yang@mediatek.com> | Tue Nov 17 14:33:41 2015 -0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Sun Nov 29 22:34:39 2015 +0100 |
tree | 0a9dda4b32e8c08e3fb2fd2a657c4118010a0436 | |
parent | f10a2585811ebd503ddf8ebcc9a32166c7b4b05f [diff] |
pinctrl: mediatek: fix a memleak when do dt maps. configs will kmemdup to dup_configs in pictrl util function. So configs need to be freed. Signed-off-by: Hongzhou Yang <hongzhou.yang@mediatek.com> Reviewed-by: Daniel Kurtz <djkurtz@chromium.org> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Reviewed-by: Yingjoe Chen <yingjoe.chen@mediatek.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>