]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitef0eb2937c942aa58c750f0fcad2c81f71c3dda0
tree978d94c566d4ad2a23ae2fe656a666b61c1f4f4e
parentc9ad4f5bd7cf166103c8101437b936b4c396b3af
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