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)
commitdb6c2c69c27f2c4fd1e2a1c6b0b1119b1e885f8a
treeeb061ca9a8c5fe4ccd0043b7a6f0fb8e5d1eff96
parent8cb440ab709fb1f7e3f71a6159ebab9403760472
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