]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.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)
committerSimone Willett <swillett@nvidia.com>
Tue, 10 Jun 2014 02:03:04 +0000 (19:03 -0700)
commitf30ac0d1c26ae4df1fbba9444b0117c0b41c9ebb
tree09c5f5ce04bca9c098500660b8aaa8548f08f2fd
parentab97deec277fe23b04fa020e2fd5871635026c1c
pinctrl: fix a memleak when freeing maps

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

Change-Id: I6d946f66f8b0f3d4fbe81e6bfdfe79ce57cf7ef6
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
(cherry picked from commit db6c2c69c27f2c4fd1e2a1c6b0b1119b1e885f8a)
Signed-off-by: Allen Yu <alleny@nvidia.com>
Reviewed-on: http://git-master/r/416674
Reviewed-on: http://git-master/r/418876
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
drivers/pinctrl/core.c