]> 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)
commit662126b57028bbb902807a8f8e70393cde92cfd7
treeeb061ca9a8c5fe4ccd0043b7a6f0fb8e5d1eff96
parentba972292121d3f0e5ae6c6fed3a5e6cd6fe897f0
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