kernel/smp.c: free related resources when failure occurs in hotplug_cfd()
authorChen Gang <gang.chen@asianux.com>
Wed, 11 Sep 2013 21:23:22 +0000 (14:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:58:21 +0000 (15:58 -0700)
commit60c323699bb308404dcb60e8808531e02651578a
tree978d94c566d4ad2a23ae2fe656a666b61c1f4f4e
parentbc5c8f0783a4a2b43d05155782e71a22a91b26a5
kernel/smp.c: free related resources when failure occurs in hotplug_cfd()

When failure occurs in hotplug_cfd(), need release related resources, or
will cause memory leak.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Acked-by: Wang YanQing <udknight@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/smp.c