]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: fix a memleak when freeing maps
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 22 Jul 2013 23:43:20 +0000 (01:43 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 25 Jul 2013 15:18:36 +0000 (17:18 +0200)
commit5dfb063dc4e80dc13ce4a48d6f3379a3cdd98831
treeeb061ca9a8c5fe4ccd0043b7a6f0fb8e5d1eff96
parent159de1ee69cca830d0797a1f84459dbb98de6337
pinctrl: fix a memleak when freeing maps

We forgot to free the node itself when free:ing a map.

Reported-by: xulinuxkernel <xulinuxkernel@gmail.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/core.c